guyroberts21 / react-library

A library app made using React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A library app created using React.

Build process

I used the official React guide to give me structure when building this simple app.

Problems I encountered

1. Lifting state up

When you have a separate component that needs to access the state of a parent or component higher up, you should use props to move up the component chain.

2. Changing the state of a property on an individual object (in state)

First you should create a copy of the state that you are changing, modify it, then replace the current state with the updated one as you cannot do all this in a single setState call.

View it here

About

A library app made using React


Languages

Language:JavaScript 80.0%Language:CSS 15.8%Language:HTML 4.2%