Questions

  1. What gives React the ability to mix visual elements with code inside the render method?
  2. Why does React use className and htmlFor?
  3. We saw that phone numbers can be validated using the regular expression ^(?:\((?:[0-9]{3})\)|(?:[0-9]{3}))[-. ]?(?:[0-9]{3})[-. ]?(?:[0-9]{4})$. We also discussed that there was an alternative way of representing a single digit. How could we convert this expression to give exactly the same result with the alternative representation?
  4. Why do we create validators separately from validation code?
  5. What is the difference between a soft delete and a hard delete?
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.175.182