This project was bootstrapped with Create React App.
I enjoyed the excercise, found it quite interesting and I think it tests the understanding of crucial front-end development elements:
- asynchronous operations
- component composition
- handling errors
- markup
- React basics
- choosing the right tools for the job: I chose to go with
create-react-app
since it gives the basic setup and file organisation pattern that I find sufficient for a small project like this. Since the task was to refresh a live feed I went with full-client side approach. For mainly server-side based task, I'd usenext
.
What it's missing is testing.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.