Hello everyone! Today's article will be a beginner's introduction to React Context API, as I noticed that this concept is quite complex for React beginners to grasp. And I'll use Firebase Authentication to demonstrate the beauty of using React Contex...

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!