refactor!: rename derive, map

This commit is contained in:
Richard 2024-05-26 21:31:28 -07:00
parent f2f7a16599
commit b715b81fec
18 changed files with 163 additions and 133 deletions

View file

@ -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