Contents

Migrating to Nextjs

Contents

Next js has a really good tutorial on using modern Javascript, React and JSX. Sinc react is a target technology for me, Nextjs is also an obvious thing for me to add. Technology is only about fulfilling needs using tools so I need to remember that React will have is my frontend tool and spring-boot is my backend tool.

Nextjs project can be started with

npx create-next-js --typescript

Remember that nextjs is an opionanated framework that uses React to make it easier to build frontends. This will be very easy for me to use and integrate into my projects I feel like. The project will have a backend to call with HTTP calls when needed.

React js and next js projects are built with an index.html file holding the references to react and the <script> tag that will tell the browser which script to load along with the html file.