Mark Erikson
Mark Erikson
Hi, I'm another Redux Toolkit maintainer. Wanted to follow up on this. Lenz has put together a potential workaround on our side, but it requires what is frankly a pretty...
@RyanCavanaugh thank you! Lenz is on vacation atm, but if you've got any questions or anything, please ping me . Appreciate you at least looking at this!
Yeah. We have both unit tests, and a set of "type tests". - https://github.com/reduxjs/redux-toolkit/blob/master/packages/toolkit/src/tests/createSlice.test.ts - https://github.com/reduxjs/redux-toolkit/blob/master/packages/toolkit/src/tests/createSlice.typetest.ts to run them: ``` cd packages/toolkit # Run just the createSlice unit tests yarn...
@RyanCavanaugh : just to check, what was the final resolution? Just a reversion of the commit that caused this breakage for us?
Thank you for taking a look at this!
I'm actually trying to do this myself right now, and I can't get this to work: ```js module.exports = { options : { mains : { index : "index", index2:...
..... Oh. Y'know what? I think I see what you're getting at. The array brackets may be off-by-one-ish there, so I'm accidentally putting the middleware inside the `"@neutrinojs/react"` array, rather...
Yeah, that was it. Boy, do I feel silly :) Thanks!
Yeah, the _ideal_ answer here is "just use Redux Toolkit's `configureStore` API that does this for you automatically": ```ts const store = configureStore({ reducer: { counter: counterReducer } }) //...
Uh. Yeah, _I_ don't have permission to reopen it either! I think the issue is it was targeted to the `v1.9` branch. @Matt-Ord guess create a new PR? Go ahead...