mirror of
https://github.com/littensy/charm.git
synced 2026-10-23 05:46:27 +00:00
refactor!: minimal react api
This commit is contained in:
parent
047be71eaa
commit
f2f7a16599
10 changed files with 59 additions and 144 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue