React JS Tutorial - #13 Input Validation

Veröffentlicht am: 22 Januar 2018
auf dem Kanal: 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...


Auf dieser Seite können Sie das Online-Video React JS Tutorial - #13 Input Validation mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Code Realm 22 Januar 2018 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 16,902 Mal angesehen und es wurde von 64 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!