Ben Sangster
Ben Sangster
I think part of what I'm struggling to figure out is: * where to dispatch the action. For example, `inject` calls generally seem to occur outside of a React tree...
I think I'm having a hard time understanding where `extractRehydrationInfo` fits into the Redux "lifecycle". Is it a reducer that controls some of the value of the API slice? Is...
The data is an object full of data (yeah, raw). It's been formatted by the API endpoint for that code bundle, and the bundle knows what the shape/types are. In...
Yeah, in this case, I think (in theory) each bundle can be responsible for ensuring it's formatting things right. We just need that mechanism (`upsert`, I guess) for doing so...
I'm not sure -- one of the other things that feels like a struggle is that I know when I inject an endpoint whether I have the initial data for...
For us, the "upsert" behavior would be what we need, and if the data is different, it seems fine (again, to us) to have it pick whichever comes first. But...
I replied on Twitter, but to close the loop here: I think that actually has a lot of potential. It looks like we can customize on a per-endpoint basis with...
Hey, looks like this hasn't gotten any responses in a bit, but I can confirm that in my testing, the React adapter would fail on differences in the children and...
I rewrote all of Etsy's seller-facing webapp to be powered by similar sorts of architecture. A lot of that was based on earlier thinking/work that went into the code-splitting stuff...
In terms of code samples, this is a version of one of our subapps, with names altered. This sort of example lives in a `Loader.ts` file, which each of our...