Always Use a Custom Hook for Context API, Not useContext (React Context API, TypeScript)Aug 13, 2023·2 min read
Common Mistakes in Conditional Renderinghttps://youtu.be/Rr5AqASIyxw TL;DR When using 0 in JSX, although it's falsy, it still gets rendered. Official documentation specifically warns to be careful Logical AND operator (&&) Be especially mindful of the usage of the number 0 when using...Aug 20, 2023·1 min read
React Hooks Simplified[Web Dev SimplifiedMy name is Kyle and I have been a full stack web developer since 2015. I have a Computer Engineering degree, but am…courses.webdevsimplified.com](https://courses.webdevsimplified.com/view/courses/react-hooks-simplified "https://cou...Mar 3, 2023·2 min read
Svelte State Management GuideComponent Props Bindings Component Events Svelte Stores The $ syntax is a Svelte convenience that subscribes and unsubscribes to the store saving you from writing extra code. The Context API Module Context The URLDec 19, 2022·1 min read
This is why you should lazy load routes and components in VueRouter Component Loading and Error Component ( suspensible should be false ) Suspense ( suspensible: true ( default ) ) mimic an API requestDec 11, 2022·1 min read
Working with Attributes in VueFallthrough attributes Get attributes ( 2 Ways ) if define as prop, then will not show in $attrs Style and Class will be merged other attributes will replace by parent’s attributes Turn off attribute inheritance Manually bind attrs to the ...Dec 11, 2022·1 min read