Jason Miller

Results 1188 comments of Jason Miller
trafficstars

How does this work with batching though?

One convenient way of addressing this would be to build the preact version with `react` aliased to a proxy module that combines these exports: ```js export * from 'preact'; export...

It would be good to have a rough guideline like "PMC implements material design, using material-components-web where possible". I'm extremely supportive of this direction. This library is important for Preact's...

Another option here would be to export a context provider from the module that enables/disables a "hydration mode". It could switch hooks to provide initial unknown values, then use useEffect...

I think we're going to look into adding a dedicated hooks API for the React and Preact unistore integrations.

Might be worth taking a peek at [Stockroom](https://github.com/developit/stockroom). It extends Unistore with this functionality in order to make actions centralized (since they're running in a single Web Worker). The key...

It seems like we have a fairly decent surface area for this already. Most notably, it's a bit hard to provide a simple API for bindActions, since it requires a...

Not out-of-scope at all! I don't know that it'd end up being in the Unistore repo, but certainly I'd love to show an example of how to do it. Here's...

That is a fantastic suggestion @stereobooster.

Is this in React, or Preact? It seems like a bug, due to the reversed execution order for `componentDidMount()`, which causes the child component's method to fire before the parent...