refactor!: minimal react api

This commit is contained in:
Richard 2024-05-03 01:02:42 -07:00
parent 047be71eaa
commit f2f7a16599
10 changed files with 59 additions and 144 deletions

View file

@ -7,8 +7,6 @@ local map = require(script.map)
local observe = require(script.observe)
local peek = require(script.peek)
local useAtom = require(script.react.useAtom)
local useAtomState = require(script.react.useAtomState)
local useSetAtom = require(script.react.useSetAtom)
local store = require(script.store)
local subscribe = require(script.subscribe)
local sync = require(script.sync)
@ -26,8 +24,6 @@ return {
observe = observe,
peek = peek,
useAtom = useAtom,
useAtomState = useAtomState,
useSetAtom = useSetAtom,
batch = store.batch,
capture = store.capture,
notify = store.notify,