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
How do I flag with modifier some of my properties in initial state for useImmerReducer without getting error. If I delete flag everything works, but I don't want to see some of properties appear in autocomplete while trying to access state from useImmerReducer:
Here is my model for useImmerReducer initial state:
Here is my reducer:
Here is error I am getting:
Environment
Vite React
Immer version:
"immer": "^10.1.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"use-immer": "^0.10.0",
The text was updated successfully, but these errors were encountered:
🙋♂ Question
How do I flag with modifier some of my properties in initial state for useImmerReducer without getting error. If I delete flag everything works, but I don't want to see some of properties appear in autocomplete while trying to access state from useImmerReducer:
Here is my model for useImmerReducer initial state:
Here is my reducer:
Here is error I am getting:
Environment
Vite React
"immer": "^10.1.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"use-immer": "^0.10.0",
The text was updated successfully, but these errors were encountered: