-
With [JSX Lite](https://github.com/builderio/jsx-lite) we hope to support Valtio, but there is one outstanding issue now that I understand the separation between state and snapshots which is that we d…
-
As [mentioned on Twitter](https://twitter.com/dai_shi/status/1340067015176769536?s=19), the fact that one has to read from another variable than they are writing to, is quite confusing.
I understand …
-
Previous discussions: https://github.com/pmndrs/valtio/pull/13
Related test: https://github.com/pmndrs/valtio/blob/master/tests/subscribe.test.tsx#L53
I'm thinking about a similar kind of API like…
-
Detected 5325 ESLint reports and/or crashes.
Scanned 10310 repositories.
Reached maximum result count 50.
Showing 50/5325
Rules:
- `@next/next/no-page-custom-font`
Click to expand
## Rule:…
-
I came across interesting behaviour today, here is example of a dialog state that I have with some actions
```ts
let dialogState = proxy({
open: false,
data: undefined,
direction: 'bottom…
-
`const state = create({ post: fetch(url).then((res) => res.json()) })
`
Should the state object be wrapped in `proxy` instead of `create`?
-
I ran into a problem where I was doubling the number of subscriptions for a state. I naively subscribed like this:
```javascript
import React from "react";
import { proxy, useProxy, subscribe } fro…
-
## Expected behavior
When assigning directly to an array position, the array length should be updated, a la the native JavaScript array behavior. Any components depending on the array (for example,…
-
Can we add a way to expose the subscribe method so that non-React code can watch the state as well. E.g.:
```
const globalState = create({
count: 0,
});
setInterval(() => {
++globalState…
jherr updated
3 years ago
-
#### Ehdotuksen tyyppi
Muutos olemassa olevaan käsitteeseen
#### preflabel
[hallitukset (valtiot)](http://www.yso.fi/onto/ysa/Y95269)
#### Tila
Käsittelyssä
#### Ehdotettu muutos
…