Mike Cronin
1 min readFeb 3, 2019

--

It’s been forever so hopefully you found a solution if this was a real world question. Off the top of my head, I would assume that it’s an issue of state updating due to the controlled inputs, and not the fact that it’s dynamic. I’d say the way to get around this is by not controlling the inputs.

Controlling is just a way to get snazzy things like quick user feedback, like if a cat name is invalid, you can let them know immediately or prevent characters from even being entered. However, if you have a form that large, you might have to trade that benefit away for performance, and do large scale form validation only on form submission. Again, just guessing, what was the answer you found? I’m sure there’s a more performant way to control forms

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response