Fereffe
Fereffe
@ckifer I've opened the bug here because the line of code triggering the "createSlice is not a function" error is inside a chunk of recharts and not one of the...
@ckifer after build and deploy Bar, YAxis, ResponsiveContainer, Cell, ReferenceLine, ComposedChart, LabelList,
pnpm ls -r immer shows nothing Not doing SSR I've tried adding immer as a direct dependency, give me 10 min and I can confirm that maybe this solves the...
@ckifer Good catch, I **confirm** that adding "immer": "^10.2.0" as a direct dependency **solves** the issue when using @reduxjs/toolkit 2.10.1
> what the... 🤔 > > btw, `pnpm ls` list defaults to depth zero so it could have been there. > > would like to have known if `pnpm ls...
I'll try Monday if needed. Anyway, I've used a script to recursively delete all node_modules folders before trying with @reduxjs/toolkit 2.10.1, so I suppose everything was as clean as possible.
This is what pnpm ls -r --depth=5 shows **without** immer as a direct dependency: This **with** immer as a direct dependency: Still **does not work** for me if I don't...
To my knowledge, pnpm is a lot stricter than npm about dependencies. For example, you cannot access a dependency of a directly declared dependency, but you have to explicitly declare...
@PavelVanecek I've tried again today removing explicit immer dependency and I can no longer reproduce the issue. Maybe various updates occurred to vite, pnpm and other packages since I reported...