mjaniszew/git-react-introduction

INTRO-5: Add loading props from json file

Opened this issue · 0 comments

Story id: 5

Description:

Move all props mocked in main component to the json file and load it asynchronously eg. by using jQuery.Ajax (jQuery is already included in the project).

When props are loaded, change main component state to "synced" using React States. Default component state should be "pending".

When component state is "pending", there should be loading... label visible.