(Day 7 of 100) React 2
Topics Covered: setState, Stop Auto Function Trigger, React Re-render, Lifecyle hooks
What I learned:
- You don’t want to modify state directly outside of setState function. (But why?)


2. By adding parenthesis after the function name, you are automatically invoking it.


3. filter function cycles through a given array and if the condition is false, it will filter out that element from array.
4. When the state changes, react will re-render the page (Only on the difference)

5. when css file is imported in one of the react component, it will automatically be applicable to all other components.
6. For modular css. I will revisit the link
7. React lifecycle



Total time spent on the challenge: 3 hours
Actual Time focused on the challenge: 1.5 hours
What I did:
- Continued studying on React. Watched net ninja youtube videos series ‘Complete React Tutorial (with Redux) from 15–23)
Plan for the next day:
- continue learning React
I will keep you updated. Thanks for reading!