Day to Day Development Flashcards
1
Q
What is the syntax for a TouchableOpacity?
A
“<img></img><br></br>”
2
Q
What are the three annoying things about forms in React that Formk helps with?
A
- Getting values in and out of form state.<br></br>2. Validation and error messages.<br></br>3. Handling Form Submission.
3
Q
Why use Formik over Redux-Form?
A
- Form state is inherently ephemeral and local, tracking it in Redux is unnecessary.<div><br></br>2. Redux-Form calls the entire top level reducer multiple times on EVERY SINGLE KEYSTROKE.</div><div><br></br></div><div>3. Formik is half the size.</div>