mirror of
https://github.com/littensy/charm.git
synced 2026-10-21 03:36:11 +00:00
refactor!: rename derive, map
This commit is contained in:
parent
f2f7a16599
commit
b715b81fec
18 changed files with 163 additions and 133 deletions
|
|
@ -16,7 +16,6 @@ local function atom<T>(state: T, options: AtomOptions<T>?): Atom<T>
|
|||
return state
|
||||
end
|
||||
|
||||
-- Atoms called in a function should not be a part of the dependency tree
|
||||
local nextState = peek(..., state)
|
||||
|
||||
if state ~= nextState and not (equals and equals(state, nextState)) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue