Mark Erikson

Results 1264 comments of Mark Erikson

Based on a Twitter thread from @mweststrate today, it sounds as if this option may be key to getting proper tree-shaking working: https://twitter.com/mweststrate/status/1228056670447730688

Right now all I'm doing is `npm run microbundle`, where that's a run script that is also literally just `"microbundle"`. So, something isn't adding up here. Visual diff vs current...

It seems silly to have a polyfill that does _not_ match the "correct" semantics. We are trying to use this with React-Redux 5.1, and we've got a branch with tests...

Without having fully investigated yet: batching and render timing are owned by React, not React-Redux. We don't have full control over that. I _would_ have expected that all updates queued...

Andarist pointed out this is likely the same thing as https://github.com/facebook/react/issues/24831

Debating the naming a bit. I've been labeling this section as "Real World Usage". RTK and React-Redux currently have sections called "Using React-Redux" / "Using Redux Toolkit". Currently, the "Recipes"...

I wrote a post about ways to semi-predictably use randomness "safely" a couple years ago: https://blog.isquaredsoftware.com/2018/01/marks-dev-links-001/#experiments-with-randomness-in-redux and this post appears to be covering something similar: https://spin.atomicobject.com/2020/01/21/redux-restorable-randomness

Discussion on cross-importing slices and dealing with circular references: https://twitter.com/acemarke/status/1091786910530338817

More waffling over naming: https://twitter.com/acemarke/status/1355992742522880000 Final results of that poll: - "Using Redux": 42.7% - "Real World Usage": 57.4% Despite it getting fewer votes, I think I'm basically set on...

We ought to rework "Configuring Your Store" some: - flip the ordering so that RTK's `configureStore` is first, and maybe show an example of writing that wrapper _around_ `configureStore` for...