Skip to content

Why is submitting tracked by the library #224

Answered by airjp73
JakeGinnivan asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!

It used to be a wrapper around useTransition until we added async validation. While validating, the form isn't really submitting from remix's perspective, but it is from the user's perspective. useTransition also turned out to be a big pain to use for automatically detecting submission in a general way that works no matter how many forms you have.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JakeGinnivan
Comment options

Answer selected by JakeGinnivan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants