Skip to content

2. Required knowledge

William Kwok edited this page Apr 20, 2020 · 2 revisions

If you don't know for sure, please look into these before you start modifying stuff heavily otherwise future people working on this code base will hate you for messing stuff up organizationally.

  • React hooks - https://reactjs.org/docs/hooks-intro.html
    • If they're still teaching class ABC extends Component you should stop and make sure you use functional components instead because it's the future of React.
      • _app.tsx is an exception to this because it is the only way to override it that I thought of.
    • How useState and useContext work, as well as how to create own hooks (this is only if you want to modify current hooks)
  • TypeScript - INFO 443
    • You will need to learn typescript typing with React and hooks which isn't too bad
  • Deploying with Docker - INFO 441
  • NextJS server side rendering
    • Makes things a lot easier and we don't have to mess around with any redirects with react router and nginx.

Learning is a slow process but if you have a huge desire to modify the website's underlying code and are up for it, learning this entire code base will be valuable for your future in terms of engineering.

Clone this wiki locally