Comments (5)
I solved this by removing the caret for React dependency in my package.json
:
"react": "16.7.0-alpha.2",
"react-dom": "16.7.0-alpha.2",
See this comment for more info: facebook/react#14454 (comment)
@aalpgiray, you have "react": "^16.7.0-alpha.2"
in your repo. Try to remove caret (to use exact version)
from easy-peasy.
Does this resolve your issue:
from easy-peasy.
Thanks, I'll try to cold it.
I'm closing this issue as answered, if the issue persists, I'll reopen it.
from easy-peasy.
I am not using RHL, however, I am getting this error. I try to use other hooks but they work. It is a simple enough project. Here is the repo
Edit: This was the problem. facebook/react#13991
I solved it by adding
"alias": { "react": "./node_modules/react" }
to the package.json
from easy-peasy.
Thanks @doasync
from easy-peasy.
Related Issues (20)
- Differences between `computed` and a hook HOT 6
- Non-stylistic differences between actions and thunks? HOT 2
- undefined store on "contextmenu" event HOT 2
- Cannot assign other store action to property HOT 4
- RangeError "Maximum call stack size exceeded" on clone function HOT 3
- Unable to alias `Unstable_EffectOn` type
- Inform users about immer workings for complex objects HOT 4
- Disable merge in easy peasy HOT 2
- HMR using Vite: module is not defined HOT 1
- Persist state with boolean false as default value? HOT 1
- Updating State HOT 2
- Broken in NextJS 13 with React 18 HOT 6
- Performance: Modifying data is too time-consuming HOT 3
- Property 'user' does not exist on type 'StateMapper<FilterActionTypes<{}>>' HOT 2
- Support for collection of nested models HOT 5
- Is it still maintained? HOT 2
- Next.js 13 example with Experimental App Directory HOT 3
- TypeError: proxy handler is null HOT 3
- Computed props which depend on computed props that consume store state don't update as expected
- Possible bug due to unnecessary rerenders HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easy-peasy.