Closed AjaxSolutions closed 4 years ago
Where is that typo exactly?
Here is a direct link:
https://github.com/pmndrs/valtio#suspense-out-of-the-box
Search for:
Suspense out of the box
const state = create({ post: fetch(url).then((res) => res.json()) })
Nice catch! It's fixed.
const state = create({ post: fetch(url).then((res) => res.json()) })
Should the state object be wrapped in
proxy
instead ofcreate
?