Closed barelyhuman closed 2 years ago
@dai-shi there is a ts-expect
statement in the code that I'd like you to check. I think it's from the official jotai libraries expectation of the Getter
type but would need confirmation
Types are fixed. You can't have a union type for getter. I'm not sure if it's possible to improve.
Do not merge even if it suffices, have to write tests for async
validation
Oh wow! I go away for a break, I come back and you've solved this 🤩 Love your work, thank you 👍
Adds the
validateAtoms
implementation for overall form atom validation.Usage example: