Playing: 095: Hasty Treat - Should you install a dependency or roll your own?
Potluck - $100/hr × Redux Replacements × Full Stack Designers × JWT × VS Code Tips × More
Potluck - Editor Fonts × Portfolios × Meetup Tips × Switching to Windows × Freelancing Sources
Potluck EP × Remote Work × Headless WordPress × Good Client Questions × Alternate Careers × React API Credentials
Potluck EP × Is Redux Dead × Learning Quickly × Developing Solo × Specialist vs Generalist × Funnest Projects × Wes’ BBQ Course
Potluck EP × Vue.js × Headless WP × Typescript & Flow × Productivity × Server Side Rendering × Yeoman
Wes and Scott's Lives - Breakdancing, BBQ, Wives, Work/Life Balance, Problem Solving, YouTube Subscriptions
Snack Pack — CSS Frameworks, React HOC, Render Props, Coding Designers, Early Career Advice and a sound board!
Hosting & Servers — Heroku, Now, Galaxy, Digital Ocean, Linode, Docker, Netlify and more!
Nov 26th, 2018
Hasty Treat - Should you install a dependency or roll your own?👇 Download Show✏️ Edit Show Notes
In this Hasty Treat, Scott and Wes talk about installing dependencies vs rolling your own - the advantages and disadvantages, and how to know when to do either.
LogRocket - Sponsor
LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It's an exception tracker, a session replayer and a performance monitor. Get 14 days free over at https://logrocket.com/syntax.
2:15 - Reasons To roll your own
- Learning Experience
- Add your own features
- Lightweight - only use what you need
8:08 - Reasons not to roll your own
- Battle Tested
- Actually Tested
11:27 - Fork
- Something needs extra features
- Upstream your changes
13:10 - Some Examples
- Fetch + function vs Axios
- Date functions vs Stack Overflow copy/paste
- Lodash vs your own - try it with map/reduce/filter first, but lots of cases need Lodash