Skip to content

guyroberts21/react-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published