dmath
@dmath
I recently took a short course on React Performance, here are my notes, hope its useful: https://gist.github.com/mathesond2/a5e96b7bb5c8001c101cee4e093fb28b Interesting: - React devTools option to highlight components upon re-render (had no clue) - useTransition, useDeferredValue hooks in React 18 for prioritization
1 reply
0 recast
0 reaction
Dan Romero
@dwr.eth
cc @gt @nickcherry @pugson who might have additional thoughts?
1 reply
0 recast
0 reaction
Alex Loukissas π
@futureartist
Re context: if you like context for global(-ish) state management, highly recommend looking into jotai. The team behind it has done great work to ensure no unnecessary re-renders occur, while providing a super easy interface (looks like useState).
2 replies
0 recast
0 reaction
dmath
@dmath
Nice!! Thanks for the heads up here π
1 reply
0 recast
0 reaction
pugson
@pugson
+1 for jotai / recoil
0 reply
0 recast
0 reaction