You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although it is 5 years ago this video gives a great explanation on using composition instead of useContext... but I believe that using both (useContext and composition) is ideal... for example if a component is heavily nested, useContext should be used... but if you find yourself prop drilling down 2-4 "dumb" components composition should be used...
I would love to know your guys' feedback on this! Thank you!