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 }}
Repository navigation
How do I flag some properties in initial state for useImmerReducer as private or with any other modifier #1146
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",
Activity