Form validation can be a tricky thing. There are a surprising number of edge cases as you get into the guts of a form implementation.
#react #validation #form
#react #validation #form
freeCodeCamp.org
How I built an async form validation library in ~100 lines of code with React Hooks
Form validation can be a tricky thing. There are a surprising number of edge cases as you get into the guts of a form implementation…
Validation of data is an interesting topic, we tend to write code that looks really horrible in the sense that it contains a lot of checks. There are different situations when we need to perform these checks like validating a response from a backend endpoint or maybe verifying what goes into our REST API won’t break our code. We will focus on the latter, how to validate our API.
#validation #javascript #node #express #api
#validation #javascript #node #express #api
ITNEXT
Joi — awesome code validation for Node.js and Express
Validation of data is an interesting topic, we tend to write code that looks really horrible in the sense that it contains a lot of checks…
There are several React hooks available right now and I plan to detail in some of them, but this article is about building a custom hook only using the useState hook to validate a form data.
#React #Validation #Form
#React #Validation #Form
ITNEXT
Form Validation with React Hooks
As you may know, I’m pretty excited about the new React API for Hooks (here is an introduction about them)