react/scripts/circleci
Andrew Clark 77c4ac2ce8
[useFormState] Allow sync actions (#27571)
Updates useFormState to allow a sync function to be passed as an action.

A form action is almost always async, because it needs to talk to the
server. But since we support client-side actions, too, there's no reason
we can't allow sync actions, too.

I originally chose not to allow them to keep the implementation simpler
but it's not really that much more complicated because we already
support this for actions passed to startTransition. So now it's
consistent: anywhere an action is accepted, a sync client function is a
valid input.
2023-10-31 23:32:31 -04:00
..
check_license.sh Delete documentation and website source (#11137) 2017-10-06 10:18:05 -07:00
check_modules.sh Fix Type for ReactNative.NativeComponent (#12805) 2018-05-14 16:36:50 -07:00
download_devtools_regression_build.js [DevTools] Add --replaceBuild option to Older React Builds Download Script (#24621) 2022-05-31 12:23:44 -04:00
pack_and_store_devtools_artifacts.sh Fixed CircleCI DevTools build artifact tar internal structure (#17758) 2020-01-02 09:28:20 -08:00
run_devtools_e2e_tests.js [useFormState] Allow sync actions (#27571) 2023-10-31 23:32:31 -04:00
test_print_warnings.sh change permissions of test_print_warnings (#9347) 2017-04-05 23:18:39 +01:00