Skip to content

Dolnys/react_static-list-of-posts

 
 

Repository files navigation

React Static List of Posts

React + Typescript cheat sheet

This task is similar to Static List of TODOs, but you should do everything yourself:

  • don't change classes in the given markup (tests use them);
  • create all required types in ./src/types/;
  • prepare posts by adding a user and comments to each post (each comment has a postId);
  • split the App into components based on given CSS blocks;
    • styles from App.scss should be moved to separate files, as well. E.g.: PostList.scss;
  • List components should take an array of corresponding objects and render one Info component per object;
  • Info components should take one object and render its data.

Instructions

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.2%
  • JavaScript 6.3%
  • Other 0.5%