eguezel / React_Lifting-State-Up-Challenge

Discover how lifting state up in React

Home Page:https://gifted-snyder-b1d9c4.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React 12 - Lifting State Up - Challenge

Netlify Link : https://gifted-snyder-b1d9c4.netlify.com/

As usual, you'll find all the components under the src folder:

  • App: "root" component (other "dummy" components are provided)
  • TabSelector: allows to select a tab

You have to modify the components, so that:

  • the activeId is present only in App component's state,
  • it is passed to TabSelector,
  • the method allowing to change activeId is in the right place

About

Discover how lifting state up in React

https://gifted-snyder-b1d9c4.netlify.com/


Languages

Language:JavaScript 74.8%Language:HTML 16.7%Language:CSS 8.5%