Open onurkerimov opened 6 months ago
.get
atom.call
atom.bind
Before: const $derived = atom((get) => get(store.getState, store.subscribe)) After: const $derived = atom.call({ get: store.getState, subscribe: store.subscribe })
Before:
const $derived = atom((get) => get(store.getState, store.subscribe))
After:
const $derived = atom.call({ get: store.getState, subscribe: store.subscribe })
Added
.get
method to atomsatom.call
oratom.bind
.Deprecated