-
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…
-
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 …
-
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 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…
-
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…
-
## 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,…
-
`const state = create({ post: fetch(url).then((res) => res.json()) })
`
Should the state object be wrapped in `proxy` instead of `create`?
-
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
4 years ago
-
#### Ehdotuksen tyyppi
Muutos olemassa olevaan käsitteeseen
#### preflabel
[hallitukset (valtiot)](http://www.yso.fi/onto/ysa/Y95269)
#### Tila
Käsittelyssä
#### Ehdotettu muutos
…
-
Hello guys,
I was trying to load a Wikidata dump generated by wikibase-dump-filter but it threw some error messages. I totally had no idea what I should do to fix it, hope you can give me some help…