React Lesson 4
This lesson is recap & test for the React
module.
React Recap
How do you create a React project?
Why is React a useful library?
What is the difference between smart and dumb component?
What are life cycle methods in a React component?
Which life cycle method is required, and why?
What are Props? give an example
What is State?
What happens when you change the state?
Write a simple
if
condition inJSX
format
UNHCR
In this part we would like you to clone this repository. Task 1
and 2
are to be done by yourselves, but feel free to use internet, look at your old code or consult your colleagues. Task 3
is to be done by pair-programming.
Testing
Focusing on testing and the Task 4
of the UNHCR
project all together in the class.
React-Router
If we have time we will add React Router to the UNHCR
project or this can be done as part of your homework.