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
Any chance recoil will be supported?
It has relatively simpler interface than redux so I expect a plugin to be easy to whip up.
I have tried unsuccessfully to adapt the pawjs-redux plugin with this error:
A Server error has occurred
Error Stack:
This component must be used inside a <RecoilRoot> component.
Error: This component must be used inside a <RecoilRoot> component.
at Object.notInAContext (webpack-internal:///./node_modules/recoil/es/recoil.js:1546:9)
at getRecoilValueAsLoadable (webpack-internal:///./node_modules/recoil/es/recoil.js:1312:2315)
at useRecoilValueLoadable_LEGACY (webpack-internal:///./node_modules/recoil/es/recoil.js:2554:10)
at useRecoilValueLoadable (webpack-internal:///./node_modules/recoil/es/recoil.js:2568:12)
at useRecoilValue (webpack-internal:///./node_modules/recoil/es/recoil.js:2586:18)
at useRecoilState (webpack-internal:///./node_modules/recoil/es/recoil.js:2638:11)
at TT (webpack-internal:///./src/components/auth/register.js:39:64)
at renderWithHooks (webpack-internal:///./node_modules/@hot-loader/react-dom/cjs/react-dom.development.js:14804:14)
at mountIndeterminateComponent (webpack-internal:///./node_modules/@hot-loader/react-dom/cjs/react-dom.development.js:17483:7)
at beginWork (webpack-internal:///./node_modules/@hot-loader/react-dom/cjs/react-dom.development.js:18597:8)
Component Stack:
in TT (created by Context.Consumer)
in _default
in ErrorBoundary
in Unknown (created by Context.Consumer)
in withRouter() (created by Context.Consumer)
in Route
in Switch
in ErrorBoundary
in App (created by HotExportedApp)
in AppContainer (created by HotExportedApp)
in HotExportedApp
in RecoilRoot
in Router
in ErrorBoundary
Any chance recoil will be supported?
It has relatively simpler interface than redux so I expect a plugin to be easy to whip up.
I have tried unsuccessfully to adapt the
pawjs-redux
plugin with this error:Here's my client.js in the plugin:
It works when I add the recoil package directly to
pawjs
like below so I believe the issue is with plugin handlingThe text was updated successfully, but these errors were encountered: