paint-brush
Using React-Redux-Formsby@alexaitken
2,618 reads
2,618 reads

Using React-Redux-Forms

by Alex Aitken5mFebruary 27th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The main reason you could say we moved to Redux was validation. We didn’t want to add a whole lot of code to our page components to validate every child component. In some components, we had up to ten fields, and all of them had to be validated. Can you imagine the size of the component that validated all of these? Hundreds of lines long. For some of you, that’ll be okay. I mean, why can’t a component be long? For us, it’s about maintainability and having a large component is hard to navigate and see what it looks like.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Using React-Redux-Forms
Alex Aitken HackerNoon profile picture
Alex Aitken

Alex Aitken

@alexaitken

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite