Day to Day Development Flashcards

1
Q

What is the syntax for a TouchableOpacity?

A

“<img></img><br></br>”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the three annoying things about forms in React that Formk helps with?

A
  1. Getting values in and out of form state.<br></br>2. Validation and error messages.<br></br>3. Handling Form Submission.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why use Formik over Redux-Form?

A
  1. 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>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly