09
Aug
In this post, we will build a simple React app using Next.js. Nothing complicated, just a simple calculator app that will demonstrate a number of features of React. Note that the full source code can be found at the link given at the end of this post. The calculator will start off simple, just add, subtract, multiply and divide. Maybe we will add something later. We'll start by getting the environment setup. For Next, you need to have node version 18 or later. I am using 20.10. Next.js will setup the default project structure for you. This is recommended, so…