Today I Learned

TIL, 2023-01-03

  • React app objectives: Create simple TO-DO list app in NextJS. Reference
    • Basic CRUD functionality
    • Add translations
    • Add simple styling via Styled components
    • Add icons?
    • Add SSR?
  • Hooks: useState, useContext, useEffect.
  • PropTypes - need prop-types package for this.
  • Adding TS to next - literally just touch tsconfig.json.
  • Global stylesheet: Reference. You need to have an app.js to hook the global styles into.
  • CLSX library Reference makes it easier to have dynamic class names.
  • Deploying Next to Vercel - literally Reference.

This project is maintained by daryllxd