|
You are here |
alexsidorenko.com | ||
| | | | |
tkdodo.eu
|
|
| | | | | Let's demystify what stale closures are in combination with react hooks with the help of the analogy of taking a photo ... | |
| | | | |
aayushsahu.com
|
|
| | | | | Looking into memoization and `useMemo` to improve some performance of our application. | |
| | | | |
scastiel.dev
|
|
| | | | | React Hooks are trully awesome, but the more I play with them the more I discover tricks, and sometimes spend a lot of time figuring out why my code doesn't do what it is supposed to. | |
| | | | |
mbuffett.com
|
|
| | | Recently I migrated my side-project from Redux, which I've used in every React project for the past four years, to pullstate, here is my tale. Problems with Redux Feel free to skip this part if you already know the pain points of Redux, there's nothing in here that hasn't been discussed a million times before. These are the problems as I see them, most important first: The boilerplate. Oh man, the boilerplate. Want to add a counter? First, add the field to your interface (I'm assuming TypeScript), add a default value, create a new action type for the incrementing, write an action creator, add the case to your reducer, add the dispatcher hook to your component, dispatch your action creator. It's exhausting just to list the steps, nevermind actually doing it f... | ||