1 of 9

#NOVEMBER_TALKS�

Devkode

JSMeetup

Session-

Why NextJS

- Agrit Tiwari

<- Sponsors

2 of 9

WHY “WHY NEXTJS”?

  • It is not a separate direction, framework built on top of react.
  • Bundling Frontend and backend together, I call it (optimized MERN stack ) obviously DB is separate(in cloud) , but not limited to mongoDB.
  • Excellent Developer Experience
  • Great number of templates available
  • Optimised Performance
  • Best for businesses

Why add another direction when there is huge number of stack and frameworks….

2

3 of 9

��EXCELLENT FULL STACK�DEVELOPER EXPERIENCE��

Let’s Look at code Structure

3

4 of 9

SSR – SSG – CSR –ISR

RENDERS ON EACH REQUEST TO SERVER

Server Side Rendering

ONLY ON BUILD TIME

Static Side Generation

BROWSER SIDE JAVASCRIPT , INCREMENTALO STATIC RENDERING

Client Side Rendering

4

5 of 9

OPTIMISATION PERFORMANCE

6 of 9

AVAILABLE INTEGRATIONS-TEMPLATES EXAMPLES

BLOG STARTER TEMPLATE

E-commerce Template

MONGODB INTEGRATION

Firebase auth

faunaDB, graphQL, CMS

6

7 of 9

“DEPLOYMENT”

Best deployment pipeline I guess, by Vercel

8 of 9

RESOURCES

8

  • Docs are eternally good

https://nextjs.org/docs/getting-started

  • Follow these two for most updates

Lee Robinson and Guillmero Rauch

  • Join the NextJS community, if you like

Discord - https://discord.com/invite/bUG2bvbtHy

  • YouTube channel to follow

9 of 9

ABOUT ME!

9