A nerd in books, tea, games and software.
I'm a solutions engineer lead, GitHub Star, Director of WomenDevsSG, and co founder of ragTech. I work at the intersection of tech, systems, and leadership, and this blog is where I share my journey through all three. Expect honest reflections, real experiences, and thoughts that are still forming rather than polished career advice.
Markdown supported · ⌘↵ to post
Nice article. Thanks for this.
I have seen that even though the value that you passed to the context is not a primitive value, you did not use useMemo.
Can you tell me what will be the implications of (not) using useMemo here and when do you suggest that we should use it.
Which rerenders will this useMemo reduces when used along with useContext?
Matt Heslington
Hi, thanks for taking the time to write this. It looks to be a super-efficient way of implementing auth to a React app.
Do you have a working example of the code, please?
Cheers!