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?