React JS Tutorial - #13 Input Validation

Publicado em: 22 Janeiro 2018
no 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...


Nesta página do site você pode assistir ao vídeo on-line React JS Tutorial - #13 Input Validation duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Code Realm 22 Janeiro 2018, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 16,902 vezes e gostou 64 espectadores. Boa visualização!