Raw Words

Backlinks

  • Computing
  • Create my own static site generator
  • I hate working with React hook "UseHookResult" types
  • I think React might be terrible at scale
  • My game dev tech stack
  • React seems antithetical to functional core, imperative shell
Home

❯

notes

❯

React

React

Apr 07, 20261 min read

  • public

Custom hooks:

  • Hot take 🔥. React Hooks are bad for your code. Here’s why!
  • Why You Should Be Writing React Custom Hooks
  • Why custom react hooks could destroy your app performance
  • useWindowOrientation custom hook
  • Dealing with useEffect arrays

Libraries

  • visx - react wrapper around d3.js
  • React Recoil
  • react-spring
  • react-ts-form
  • react-hook-form
  • Drift - a library for React that allows for always drift between online/offline apps. This seems to have some structures you’d need to implement.

Ideas

  • Should functions defined in custom hooks always use useMemo or useCallback
  • React should just be a view layer
  • You should not handle server state all over your React app
  • It is tricky to keep data changes separate from animating state changes for users when doing declarative programming
  • React debugger has an option to highlight component renders!
  • Performance in React is tricky
  • I think React might be terrible at scale
  • React seems antithetical to functional core, imperative shell
  • I think I might hate React
  • How much should you think about how React renders?