Mark Erikson
Mark Erikson
FYI I was able to successfully use the `MergeParameters` type from Anders, although the publishing step to make the package work from 4.2...4.9 was awkward: https://github.com/reduxjs/reselect/pull/587
Hate to do the "+1" routine, but I'm in another situation where this would be extremely useful. In https://github.com/microsoft/TypeScript/pull/50831#issuecomment-1253830522 , a change in TS 4.9 broke Reselect (boo!), and specifically...
Just ran into this myself. There's a great workaround over in a related issue in the `prettier-plugin-tailwindcss` repo. Convert your `.prettierrc` to `prettier.config.js`, manually mash the two plugins together, and...
There's two things happening here: - `webext-redux` has its `Store` type written as a _class_, not as a closure the way the real Redux library does. So, `store.getState` in `webext-redux`...
As an additional observation: the current use of Reselect borders on being wrong. In particular: ```js // selectors.js const makeSelectCurrentUser = () => createSelector( selectGlobal, globalState => globalState.currentUser, ); //...
The "container folders" you have are fairly close to being "feature folders" already, as opposed to having separate folders like `/actions` and `/reducers`. In this case, it's more that each...
Realistically, most of those extra selectors are just getting thrown away and garbage collected
Yeah, I don't want to dictate the exact form of the folder structure you or other folks use. I just want to encourage folks to _not_ use "folder-by-type", and hopefully...
@joejordan : part of the point of RTK is that it _doesn't_ obfuscate the fact that you're using Redux: https://blog.isquaredsoftware.com/2019/10/redux-starter-kit-1.0/#defining-a-roadmap-and-clarifying-the-vision You're still writing reducers and dispatching actions, and setting up...
@lsanders : no, Redux Toolkit is written in TypeScript itself, and we have specifically designed its API to minimize the amount of explicit type declarations you actually have to write...