-
Convert to Nano-stores
Is it actually smaller ??
-
https://github.com/AshSimmonds/solidstart-17/tree/main/src/routes/nanostores
-
Link: https://github.com/nanostores/persistent/issues/49
```jsx
export default function () {
const foo = useStore($foo);
console.log(foo()) // correct
console.log($foo.get()) //…
-
Hi there!
I saw news on new release, saw `allTasks` API and decided to research, how `nanostores` is compatible with SSR
Loading of Node.js template in codesandbox takes forever for some reason,…
-
I checked if I can use nanostroes with server components in Nextjs, and didn't find any luck.
The below setup renders, but the store init does not fire, and I find store with the initial state both o…
-
I use nanostores to store a count in `localStorage`:
```
import { persistentAtom } from '@nanostores/persistent'
export const counterStore = persistentAtom('count', 0, {
encode: JSON.stringi…
-
Hey there, I've been trying to recreate the React Todos example outside of React but struggling with the Web API documentation alone. The React example uses the React-specific hooks with nanostores wh…
-
Check if make sense to add nanostores
https://github.com/nanostores/nanostores#guide
-
There are not enough "keep previous data" feature - return the previous key's data until the new data has been loaded.
This feature is well explained in swr: https://swr.vercel.app/docs/advanced/un…
-
I'm using nanostores (`0.9.3`), in astro (`1.9.0`) with react (`18.0.0`).
I've got this store:
```ts
import { DataResponse } from "@components/hooks/useApi";
import { createFetcherStore } from…