React JS Tutorial - #13 Input Validation

Publicado el: 22 enero 2018
en el canal de: Code Realm
16,902
64

There is a saying in web development and programming in general, that goes along the lines of "never trust the users of your app". If your website can be hijacked, sooner or later it probably will. Therefore we should take input validation and sanitization very seriously to provide for better security of our software.

Up until this point, we assumed that the user would be so kind to enter a valid date in the proper format. However, that's very rarely the case. People make mistakes, often unintentionally. Don't worry though, form validation, as you'll see, is fairly straightforward in React. I'll show you how we can secure our countdown app by checking user input before it's sent up to the parent component for calculation and rendering. Ready to learn? Then let's roll :)

Short-circuiting with && (Logical AND): http://javascriptissexy.com/12-simple...


En esta página del sitio puede ver el video en línea React JS Tutorial - #13 Input Validation de Duración hora minuto segunda en buena calidad , que subió el usuario Code Realm 22 enero 2018, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 16,902 veces y le gustó 64 a los espectadores. Disfruta viendo!