3 ms·
Without the Provider there would be no way for the `connect` decorator to give access to the current state. Given the design of this library though (global stor
by jonreem 9y ago
Without the Provider there would be no way for the `connect` decorator to give access to the current state. Given the design of this library though (global store) it seems like it would be fine to just pass the store along in the call to `connect`.
Note that the global store is a huge problem for this library. How would you use this when writing a component that wants to use redux-zero in a library, not directly in an application?