Today I learned
Data fetching in React 18
If you've worked with React you've possibly done something like this to fetch data from an API: With the release of React 18 a lot of people…
Read moreMissusing useEffect
Today I learned that Reacts useEffect is not meant for data fetching and is not a state setter either! This questions all my best…
Read moreConfetti
In a project I worked on recently someone mentioned it would be cool to have some confetti after a form submission . I loved this idea…
Read moreReact Suspense Lazy Loading Components
While Suspense for Data fetching is still an experimental feature in React and is not yet available in a stable release, React 16.6 also…
Read morePersisting redux state with localStorage
Today I learned from Dan Abramov how to persist the redux state to the local storage. Learn more: https://egghead.io/lessons/javascript…
Read morePerformance and useMemo
The React Hook useMemo ist not the solution for all your performance problems. In most cases memoizing costs more CPU power than not doing…
Read moreHooks in React Router
React-Router introduced new hooks with its release of version 5: useHistory, useLocation, useParams and useRouteMatch. In my opinion, these…
Read more