Comments (8)
@JustFly1984 Peer dependency is about warning only during Yarn/NPM install. It's up to you update that in your project. If you are annoyed by warning, then submit a PR
from use-immer.
please update your peer dependencies to "immer": "^4.0.0"
from use-immer.
from use-immer.
10:07:02 PM: warning " > [email protected]" has incorrect peer dependency "immer@^2.0.0 || ^3.0.0".
from use-immer.
Sorry, but it's fairly silly. You open this issue like some catastrophic errors are happening...
We have so many peer deps warnings in projects that we stopped worrying about those. Most of them are false positive of a wrong system. So it makes me smile every time when someone is concerned by the extra warning
from use-immer.
If the author would not be willing to maintain that range, or would be fine with just ignoring the error, why did not he just put an *
in the first place? The only thing that is fairly silly here is your arguing. This is a completely legitimate issue.
from use-immer.
This is indeed a valid issue, thanks for the PR @nappy !
from use-immer.
Should be released as 0.3.3 now
from use-immer.
Related Issues (20)
- changelog HOT 2
- `source is undefined` when calling a nested mutation in a custom hook from a library when using immer 9.0.13+ HOT 1
- Enhance `userImmerReducer`'s type by providing function overloads HOT 4
- i have an error Immer only supports setting array indices and the 'length' property HOT 1
- Passing event directly results in strange values inside state change function while running tests HOT 4
- [QA]how to complete a use-immer with uncontrolledValue?
- [BUG] Immer Error when setting properties on a Record object HOT 5
- how to integrate redo undo ? HOT 1
- When the state is a reference type stored in an array, it cannot be obtained when modifying HOT 4
- Target ESM over CommonJS HOT 6
- [Feature request] Dispatch thunks in useImmerReducer ? HOT 5
- when useImmer use in an async function HOT 1
- Why does `useImmer()` not return `ImmerHook`? HOT 1
- Why does the hook return a mutable value? HOT 5
- Can you folks push up the code/tags for the 0.5.2 release? HOT 1
- Feature Request: Enhance useImmer's type HOT 1
- Feature Request: Add useImmerDraft hook HOT 1
- Destructuring `draft: WritableDraft<T>` argument results in state not being updated
- Attempted import error: 'freeze' is not exported from 'immer' (imported as 'r'). HOT 8
- Add React 18 as peer dependency. HOT 4
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 use-immer.