v2
jaredLunde opened this issue ยท comments
- Use the Jotai v2 API
- Replace
scope
withstore
and context await get()
initialValues={[[countAtom, 1]]}
is replaced bycreateStore()
andstore.set()
- Maybe do something with abort signals
- Replace
- Create a
useInputFieldAtom()
hook, removeprops
fromuseFieldAtom()
#18 (comment) - Maybe add
form-atoms/zod
validator
#17 (comment)- For consideration: #23
-
FormValues
andFormErrors
should infer fields from form instead of using fields as the generic
#28 - Fix incorrect
dirty
value wheninitialValue
is used - Fix reset doesn't set value to the value in
useFieldInitialValue
#33 - Fix #26
- Update CodeSandbox examples
- Use
tsup
for build step - Use
vitest
for tests - Pin package versions in
devDependencies
- Fix GitHub build badge
- Remove
.tsbuildinfo
andtypes
directory - Add
prettier
toeslint
config instead of running them separately
Jotai will have new API from v2 so could be updated as well.
Ahhh yes thanks for the link. Definitely need to add that to the list.
Created a next
prerelease branch if you want to contribute to any of the above
https://github.com/jaredLunde/form-atoms/tree/next
jotai v2 just landed
https://github.com/pmndrs/jotai/releases/tag/v2.0.0
Awesome! Will get started on the updates
This looks amazing. Let's release!
๐ This issue has been resolved in version 2.0.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐