zedux
zedux copied to clipboard
:zap: A Molecular State Engine for React
## Description When extending the core `Store` class and instantiating your class with an array type, TS gives a super cryptic error message that basically boils down to: `store.use()` doesn't...
### Zedux Version 1.2.0 ### Description If I have a Zedux store that has an object structure and I either pass in a type for the store as a generic...
## Description Remove the Store class's `hierarchyConfig` static property. This is a breaking change, but likely won't affect any Zedux users since we left this feature undocumented, intending to remove...
### Zedux Version v1.2.0-rc.1 ### Description 1. Pressing `Ctrl+K` doesn't open the search modal as the search button suggests. 2. The search feature doesn't work returning "Internal Server Error" on...
### Zedux Version "@zedux/react": "1.1.1", ### Description `useAtomSelector` doesn't trigger a re-render when used with `useAtomContext`. But, any other re-render in the component will cause the selector to register and...
### Zedux Version 1.2.1. Also tested 1.2.0. ### Description When you use setInternals to work across windows there appears to be a limitation that the same component cannot be used...
## Description `useAtomSelector`'s failsafe `queueMicrotask` is a little too aggressive and can (very rarely) lead to race conditions with React's own queued microtasks. #106 and Zedux v1.3.x already fix this...
### Sharing data between Electron windows? Hello, In Electron the renderer windows can only communicate with the main window. I tried passing const mainInternals = getInternals(); window.electron.ipcRenderer.sendMessage('newwin', [ 'window', mainInternals,...
The current plan is for Zedux v2 to introduce a new signal primitive to Zedux. ## Overview Zedux is already technically a signals implementation, but its atoms have different design...
Zedux v2 is on the horizon! Here's what we're planning on adding, deprecating, and removing plus some stuff we're still figuring out. ## Planned Deprecations - [ ] `AtomInstance#getState` -...