This is a contributors guide and NOT a user guide. Please visit these docs if you are using or evaluating SuperTokens.
This is just a proposal so far, it hasn't been accepted and needs further discussion.
We may want to separate override config for components from supertokens-auth-react
init, so initialization of
auth-react does not depend on
react. See related issue
- Separate component that takes config prop
- Make SupertokensWrapper take config prop
- Pass config to route handler
Chosen option: Separate component that takes config prop, because
- Well typed interface is very important
The new component will be called