Remix.run Logo
hu3 3 days ago

You might want to look at something like morph Dom to keep input focus when you have to re-render the form, for example.

atum47 3 days ago | parent [-]

Since the user decides what happens when the state gets updated its up to them to address that. For me, I usually avoid re-renders when possible, I rather update the property associated with the state.

Have you faced any scenarios where that's needed? I'm curious.