A project during my third module at Turing School of Software Design. For this project, I work on developing some muscle memory in building out simple React components and passing data down as props. The project aids on giving me an understanding of the difference between class components and function components and getting a sense of when to use one over the other. Goals of this project are:
- Write squeaky clean, well refactored code using ES6 syntax.
- Learn to pass information between components using props.
- Learn to write readable JSX (your render methods/return statements should be clean and simple).
- Use propTypes for every component receiving props.
- Learn how to unit test React components including snapshot testing, methods, and changes in state.
Fork and clone down repo.
Then install the library dependencies. Run:
npm install
In the terminal, run:
npm start
You will see a bunch of lines output to your terminal:
Compiled successfully!
You can now view whats-new in the browser.
Local: http://localhost:3000/
On Your Network: http://10.1.3.3:3000/
Note that the development build is not optimized.
To create a production build, use npm run build.
Click this link: https://polsieira.github.io/whats-new/
- HTML5
- SASS
- JavaScript
- React
- Webpack
Feel free to look at some of my favorite news articles! Just kidding it is a random API, but you can search for your favorite topics using the search bar or using the categories on the left aside! Click on the link to be transported to the full article if you're really interested.
Pol Sieira