All questions

Where in my React tree should I put the CroctProvider?

Asked by mateus_r on

Mmateus_r

just installed @croct/plug-react and I am not sure how high up the tree the provider actually needs to be. I have a few routes that read content and one that runs an evaluation, and I do not want to wrap the plug again per route.

Is there a rule for where CroctProvider should live?

Was this helpful?

0 answers

Still have questions?