formula-one
formula-one copied to clipboard
Strongly-typed React form state management
Likewise, make `FeedbackStrategies.Touched` into `or(Changed, Blurred)`.
add `all=error` to `[lints]` in `.flowconfig`, then fix / line-disable all existing errors
Consider changing `onSubmit`'s arguments to `(FormulaOneResult, ExtraSubmitData)` , where: ```js type FormulaOneResult = | { valid: true, value: T } | { valid: false, internalValid: boolean, // or clientValid, if...
Formula One should make it easy to implement navigation protection. If a form has been edited, but not saved, a form should prompt before allowing navigation away from the form...
It looks like under some circumstance we don't understand, the `valid` argument to the `Form`'s render prop can report the wrong value. This caused type errors in Flexport's app because...
To make sure our typing is working, we could (a) brainstorm what kind of type errors we want to prevent then (b) ensure that all of these potential errors have...
`ArrayField`'s `customChange` doesn't run in response to mutators (`addField`, `filterFields` & friends). But it should run.
It'd be nice to have a measurement for (a) test coverage and (b) Flow coverage. Maybe these numbers can show up in a badge on the readme?
If I want to track the errors that the user encounters while using my form, there is no easy way to do this now, and no way at all in...