Advertisement
Guest User

React Roadmap

a guest
Aug 21st, 2019
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. # Goal
  2.  
  3. Built a simple list of products
  4. - Each iteration will have its own **pull request** to master
  5. - Each commit will be **pushed** as soon as possible to prevent blockers
  6. - All in **2 weeks** 😉
  7.  
  8. ## First iteration
  9.  
  10. Build a shop with a list of products and filters
  11.  
  12. - Vanila ES6 in front-end
  13. - Use [web components](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM)
  14. - No additional library
  15. - **Not even for HTTP requests**
  16. - CSS framework of your choice
  17. - Vanila NodeJS 10 **API** in back-end
  18. - JSON file storage
  19. - Read from disk on **each** request
  20.  
  21. ## Second iteration
  22.  
  23. Build a shop with **just** a list of products
  24.  
  25. - React 16.8 in front-end
  26. - ESLint with AirBnB config for React
  27. - No state manager (Redux, etc)
  28. - API fetching done in components
  29. - Unit & integration tests
  30. - CSS framework of your choice
  31. - Integrate with React
  32. - Express NodeJS **API**
  33. - ESLint with AirBnB config for Express
  34. - Express router
  35. - Unit & integration tests
  36. - JSON file storage
  37.  
  38. ## Third iteration
  39.  
  40. On top of the second iteration, add categories and build filters for the list of products
  41.  
  42. - React in front-end
  43. - Move **all** API calls to Redux
  44. - Integration tests
  45. - Optimise re-renders 😳
  46. - Express NodeJS **API**
  47. - Implement caching for filters
  48. - Keep JSON file storage
  49.  
  50. ## First test
  51.  
  52. Backend:
  53.  
  54. - Express
  55. - JSON storage
  56. - 2 entities (one is child of the other)
  57. - Endpoints:
  58. - GET list of entities
  59. - GET child by parent id
  60. - Insert parent
  61. - Insert child
  62. - All tested
  63.  
  64. UI:
  65.  
  66. - Fully use the backend that you built
  67. - All tested
  68.  
  69. ES6:
  70.  
  71. - Overwritte Array.sort
  72. - Tests
  73.  
  74. ## Second test
  75.  
  76. Backend:
  77.  
  78. - Express
  79. - 1 entity
  80. - Endpoints:
  81. - GET entity list
  82. - Update entity
  83. - Live updates through websockets on entity list
  84. - If one user updates one entity, all other users see that change in the list
  85. - All tested
  86.  
  87. UI:
  88.  
  89. - Fully use the backend that you've built
  90. - Use one of the following patterns: render props, HOC, hooks
  91. - All tested
  92.  
  93. ES6:
  94.  
  95. - Overwritte Object.assign
  96. - Tests
  97.  
  98. ## Third test
  99.  
  100. Tick tack toe multiplayer websockets
  101. - React
  102. - Express
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement