Mark Erikson

Results 1264 comments of Mark Erikson

Yeah, I assume if we did `addReducer` we'd do `removeReducer` as well. My working assumption here is that we'd mostly just implement one of the basic snippets from the recipes...

Given that there are no recent comments, nope :)

That might be one approach, yeah - store enhancers can certainly add more fields to the store object. I do still have the questions / concerns I raised earlier in...

FWIW, there's actually a discussion over in the main repo about relying on Suspense to help make sure that a reducer is injected before we ever try to read from...

Related note: https://github.com/Microsoft/redux-dynamic-modules doesn't appear to be maintained, and https://github.com/ioof-holdings/redux-dynostore has been dead for a while. That repo also links to a few other related libs: - https://www.npmjs.com/package/redux-injectors - https://www.npmjs.com/package/redux-injector...

Got something kinda working here. Types still aren't right yet - it's showing fields in entityState.indices that don't actually exist. But the logic seems like it's mostly there. Things that...

@sabarnix I think at that point you'd need to do the remaining filtering outside the adapter. Assuming this is being used as a slice reducer, you only have access to...

@dutzi tbh this is entirely backburnered right now. We're focusing on finalizing RTK 1.9, and after that we'll be working on RTK 2.0 that drops back compat for IE11 and...

Yes, it is legal to call `setState()` in the body of a function component, as long as you do it conditionally: - https://beta.reactjs.org/learn/you-might-not-need-an-effect#adjusting-some-state-when-a-prop-changes - https://reactjs.org/docs/hooks-faq.html#how-do-i-implement-getderivedstatefromprops - https://blog.isquaredsoftware.com/2020/05/blogged-answers-a-mostly-complete-guide-to-react-rendering-behavior/#setting-state-while-rendering

I had cherry-picked this change into our app, but just discovered an issue with it. I'm storing Amp.States in a Backbone.Collection, and if you call `collection.set(data, {parse : true})`, the...