wana icon indicating copy to clipboard operation
wana copied to clipboard

Easy observable state for React ⚡️

Results 12 wana issues
Sort by recently updated
recently updated
newest added

In concurrent mode, renders can be discarded, which means they'll never be committed to the DOM (or whatever native host). There are potentially other issues as well (see [here](https://github.com/dai-shi/will-this-react-global-state-work-in-concurrent-mode)). Currently,...

enhancement

```ts const data = o({}) Object.defineProperty(data, 'a', { value: 1 }) auto(() => console.log('a =', data.a)) // Change is not observed. data.a = 2 ```

limitation

```ts const data = o({ a: 1 }) auto(() => console.log('changed:', { ...data }) // New property is not observed. data.b = 1 ```

limitation

In v0.13.6, support for `define` changes were added, but the `watch` function does not handle them properly.

bug

https://github.com/gothinkster/realworld

documentation
enhancement

"Reactions" are unobserved side effects in response to an observed computation. The current way to do this: ```ts auto(() => { // Observed computation here noto(() => { // Unobserved...

enhancement

Ideally, the `Object.keys` shim should only observe key changes (eg: when a key is added or removed). Currently, it observes value changes too (eg: when a key is set to...

bug

Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.0.0 to 4.1.3. Release notes Sourced from tough-cookie's releases. 4.1.3 Security fix for Prototype Pollution discovery in #282. This is a minor release, although output from the...

dependencies

Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...

dependencies