yeah but when I try to set Provider to it's own component like in my code it creates problems. React doesn't view it as a component.
I think I'm missing something very fundamental about React context. It gets very strange when I try to make it a single file and export it out for use. And then when I try to package it to be a reusable NPM component.
View all comments
Show parent comment
0
u/[deleted] May 09 '20
[deleted] — view deleted comment