Andrey
Andrey
Also reminder from the above: "track if enumeration of keys or values of an object happened during render and rerender only in this case"
Also, somewhat duplicate of https://github.com/avkonst/hookstate/issues/51
Please read the docs carefully. Especially sections 'global state' and 'writing a plugin' which describe what you want to achieve. On Sat, 30 Apr 2022, 21:10 Natesh Bhat, ***@***.***> wrote:...
New extension will be added to Hookstate-4
the extension has been implemented for Hookstate-4. Here is how to use it: https://hookstate.js.org/docs/extensions-subscribable
Call 'hookstate' function instead of useHookstate. It has the same signature and features and can be called to create states from outside of components. On Sun, 7 Aug 2022, 00:32...
Hi, thanks for the request. I had a similar need in my past project and solved it using either of 2 methods: 1. assign symbol property to a value of...
Hookstate-4 is almost API compatible with version 3 while stays on rcX versions. Once the RC suffix is dropped, I will delete deprecated stuff, but before this I need to...
Here is the documentation how to write an extension. The example shows how to add setWithContext method https://hookstate.js.org/docs/writing-extension
Could you please check if it is fixed in Hookstate-4.0.0-rc12? We worked on improving it dev tools support in the version 4 recently.