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
{{ message }}
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.
At the moment we always wrap the react app within the hoc provider even if the component doesn't have a data configured in the package.json (no server.js case). The provider to work need a serverless function to be present as we enhance it for them to seamless work together.
In the case where no server is defined such contract break and there is no point in wrapping the app with the provider at that point, although one might want to be abler to ship a react application that doesn't need a serverless function with it.
Suggested solution:
Don't wrap at compile time the react app with the provider in case there is no data defined in the package.json of the component
The text was updated successfully, but these errors were encountered:
At the moment we always wrap the react app within the hoc provider even if the component doesn't have a data configured in the package.json (no server.js case). The provider to work need a serverless function to be present as we enhance it for them to seamless work together.
In the case where no server is defined such contract break and there is no point in wrapping the app with the provider at that point, although one might want to be abler to ship a react application that doesn't need a serverless function with it.
Suggested solution:
Don't wrap at compile time the react app with the provider in case there is no
data
defined in the package.json of the componentThe text was updated successfully, but these errors were encountered: