Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Drawing the line between 3rd party and custom code
Search
Glenn Reyes
October 11, 2019
Programming
190
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Drawing the line between 3rd party and custom code
Glenn Reyes
October 11, 2019
More Decks by Glenn Reyes
See All by Glenn Reyes
Dutch AI Conference - Building Interactive Chat Interfaces with MCP-UI
glennreyes
0
30
Advanced TypeScript for React
glennreyes
0
120
TypeScript Patterns for Better React Components
glennreyes
1
530
GraphQL for React Developers
glennreyes
0
220
When things go wrong, get errors right!
glennreyes
0
150
GraphQL for JS developers
glennreyes
1
180
Building Dapps with React
glennreyes
0
130
Third-Party or Custom Code? The Art of Software Decisions
glennreyes
0
110
UI/UX challenges of Web3 and Dapps
glennreyes
0
200
Other Decks in Programming
See All in Programming
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
240
LaravelLive Japan の裏方のすべて — 第188回 PHP勉強会@東京 (2026-06-24)
suguruooki
2
130
才能?センス?知らん、 続けたもん勝ちだ。-- 結婚・出産・癌を越えてなお、私がプロダクトを創り続ける理由
16bitidol
1
560
SREは、MCPとSRE Agentをこう使え!
kazumax55
0
130
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
1
320
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
420
ランチタイムLT会3周年!ランチタイムLT会を3年間続けられたお話
y0hgi
1
110
これからAgentCoreを触る方へトレンドはGatewayです
har1101
4
400
Go1.27で導入されるジェネリクスメソッドでできること
mackee
0
200
Spec Driven Development | AI Summit Lisbon
danielsogl
PRO
0
220
LLMによるContent Moderationの本番運用の裏側と品質担保への挑戦
suikabar
3
800
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
14
5.9k
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.7k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.6k
Utilizing Notion as your number one productivity tool
mfonobong
4
330
Color Theory Basics | Prateek | Gurzu
gurzu
0
370
Paper Plane
katiecoart
PRO
1
52k
Navigating Team Friction
lara
192
16k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
エンジニアに許された特別な時間の終わり
watany
107
250k
Technical Leadership for Architectural Decision Making
baasie
3
420
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Transcript
Drawing the line between 3rd party and custom code @glnnrys
· glennreyes.com
@glnnrys
@glnnrys
Glenn Reyes @glnnrys
Why do we love building apps? @glnnrys
None
Open Source is ❤ @glnnrys
Vincent van Gogh “Great things are done by a series
of small things brought together.” @glnnrys
@glnnrys
How do we decide on things? @glnnrys
Which form library in React? @glnnrys
Which form library? formik final-form redux-form Vanilla @glnnrys
Which date library? @glnnrys
Which date library? moment dayjs date-fns Native luxon @glnnrys
Which id generator? nanoid cuid shortid my own @glnnrys
None
Making decisions are hard and time consuming. @glnnrys
Approaches @glnnrys
Just pick any @glnnrys
None
None
None
None
None
What I need vs what my users need @glnnrys
None
👩💻👨💻 @glnnrys
In any case ... @glnnrys
@glnnrys 🤓 👩💻 👷 @glnnrys
@glnnrys 🤓 👩💻 👷 🐒 👩🎤 🔮 🥑 🍌 @glnnrys
Architectural Decision @glnnrys
Complexity Speed API Size Bugs Dependency Documentation Time Constraints Development
Environment License @glnnrys
How to measure complexity? @glnnrys
// $(el).toggleClass(className) function toggleClass(el, className) { if (el.classList) { el.classList.toggle(className);
} else { var classes = el.className.split(' '); var existingIndex = classes.indexOf(className); if (existingIndex >= 0) classes.splice(existingIndex, 1); else classes.push(className); el.className = classes.join(' '); } } youmightnotneedjquery.com @glnnrys
// $(el).toggleClass(className) var classes = el.className.split(' '); var existingIndex =
classes.indexOf(className); if (existingIndex >= 0) classes.splice(existingIndex, 1); else classes.push(className); el.className = classes.join(' '); } @glnnrys
// $(el).toggleClass(className) var classes = el.className.split(' '); var existingIndex =
classes.indexOf(className); if (existingIndex >= 0) classes.splice(existingIndex, 1); else classes.push(className); el.className = classes.join(' '); } 🧐 @glnnrys
@glnnrys
// $(el).toggleClass(className) function toggleClass(el, className) { if (el.classList) { el.classList.toggle(className);
} else { var classes = el.className.split(' '); var existingIndex = classes.indexOf(className); if (existingIndex >= 0) classes.splice(existingIndex, 1); else classes.push(className); el.className = classes.join(' '); } } @glnnrys
// $(el).toggleClass(className) function toggleClass(el, className) { el.classList.toggle(className); } @glnnrys
element.classList.toggle(className); @glnnrys
Bundle size @glnnrys
https://bundlephobia.com/result?p=react @glnnrys
Import Cost VSCode Extension @glnnrys
@glnnrys
@glnnrys
On the web there's new libraries every day @glnnrys
Use what works best for you @glnnrys
Community Support ❤ @glnnrys
@glnnrys
People love solving problems @glnnrys
NO PROBLEMS === NO 🤑 🤑 🤑
None
How are problems solved in web development? @glnnrys
Decisions @glnnrys
How to decide what library to use? @glnnrys
Is it over-engineered? @glnnrys
@glnnrys
@glnnrys
Look into the source code 🤓 @glnnrys
The node_modules folder is your friend @glnnrys
Let maintainers know about your problem, ideas & improvements @glnnrys
It should solve your problem @glnnrys
Dealing with picking the most popular library @glnnrys
@glnnrys
⭐ GitHub stars 🛠 Active maintenance 🍃 Active community 💻
Platforms @glnnrys
Should I pick the most popular library? @glnnrys
@glnnrys
How about just roll my own? @glnnrys
¯\_(ツ)_/¯ @glnnrys
Rolling your own code allows you to Tailor code to
your exact needs @glnnrys
Rolling your own code gives you full control @glnnrys
With full control it's your responsibility to maintain and keep
track of your code @glnnrys
Where to draw the line? @glnnrys
Find the right balance intuitively @glnnrys
Understand the importance of decisions @glnnrys
Harm reduction @glnnrys
Try to get the best outcome but reduce potential risks
@glnnrys
Make decisions @glnnrys
Make good decisions @glnnrys
Make good decisions Make clean decisions @glnnrys
Make good decisions Make clean decisions Make right decisions @glnnrys
Make good decisions Make clean decisions Make right decisions Make
smart decisions @glnnrys
Make good decisions Make clean decisions Make right decisions Make
smart decisions Make reasonable decisions @glnnrys
Everytime we add more code into our library we increase
the spectrum for new bugs @glnnrys
Take risks and keep moving forward @glnnrys
Always start simple @glnnrys
Keep good practices that worked in the past. @glnnrys
Don't let new things intimidate you @glnnrys
Write the best code possible @glnnrys
One day old code becomes legacy. And if they are
great, we'll enjoy using older code even more. @glnnrys
“ ” Kent C. Dodds We should be mindful of
the fact that we don't really know what requirements will be placed upon our code in the future. @glnnrys
Keep using code what you know best @glnnrys
Never stop learning @glnnrys
Never stop learning new things @glnnrys
Thank you @glnnrys · glennreyes.com