Introduction to NextJs

Next.js is a popular and lightweight framework for static and server-rendered applications built with React.

 

Dev environment

  • Uses Node as the server environment.
  • Hot reloading
  • styling
  • routing
  • hybrid static and server rendering
  • TypeScript
  • smart bundling
  • route pre-fetching

 

Good points

  • Lightweight
  • Can be used for static and server-rendered applications built React applications.

 

Bad points

  • monolithic
  • doesn't allow for much composability
  • one code base for front and backend
  • doesn't work out of the box