- Spencer Tower & Joey Hernandez
- Score (Out of 10):
- We give it a 7
-
We basically just followed what the docs said and made some changes to the existing code base. We cannot take full credit though as this was the same framework Jacob demo'd for the class. We figured it couldn't hurt to keep that energy.1
-
Pros
- It's easy to work with
- Not too complicated to implement
-
Cons
- We had to use it with Salmon Cookies
- Required some refactoring
"Next.js is a React framework that enables several extra features, including server-side rendering and generating static websites. React is a JavaScript library that is traditionally used to build web applications rendered in the client's browser with JavaScript."
-
Node.js 12.22.0 or later
-
MacOS, Windows (including WSL), and Linux
-
The dependencies and requirements are added for you automatically, all you need to do is run the following:
-
npx create-next-app@latestor -
yarn create next-app
- With a working knowledge of javascript and Node.js, even the most junior developer could get up and running with this framework, we estimate, in a matter of days if not hours.
- Next. js is widely used by the biggest and most popular companies all over the world like Netflix, Uber, Starbucks, or Twitch. It's also considered as one of the fastest-growing React frameworks, perfect to work with static sites – which was the hottest topic in the web development world lately.
this will also work for the 'live demo link'
- Run:
npx create-next-app@latest - Then:
cd salmon-cookies-nextjsand replace thesrcfolder generated by CRA with thesrcfolder in this starter-code folder. - Run:
npm run devoryarn devto start the development server onhttp://localhost:3000 - Visit:
http://localhost:3000to view your application and verify all components are up. - Edit:
pages/index.jsand see the updated result in your browser.