Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💡 [FEATURE] - Add complete resources for NEXT JS #463

Closed
3 tasks done
chaanakyaaM opened this issue May 25, 2024 · 1 comment
Closed
3 tasks done

💡 [FEATURE] - Add complete resources for NEXT JS #463

chaanakyaaM opened this issue May 25, 2024 · 1 comment
Assignees

Comments

@chaanakyaaM
Copy link
Contributor

Idea Contribution

  • I have read all the feature request issues.
  • I'm interested in working on this issue
  • I'm part of GSSOC organization

Explain feature request

Next.js is a react based framework, that enables functionality such as server-side rendering and generating static websites for React-based web applications. It simplifies building production-ready applications with minimal configuration

Explain your solution

I would like to add resources for NEXT JS including:

Setting up the environment

  • Installing Node.js and npm/yarn
  • Creating a new Next.js project
  • Basic project structure

Pages and Routing

  • Creating pages
  • File-based routing
  • Dynamic routing
  • Catch-all routes

Static Generation and Server-Side Rendering

  • Static generation (getStaticProps)
  • Incremental Static Regeneration (ISR)
  • Server-side rendering (getServerSideProps)
  • Differences and use cases

API Routes

  • Creating API routes
  • File-based API routing
  • Handling different HTTP methods (GET, POST, PUT, DELETE)

Components in Next.js

  • Creating components
  • Importing and using components
  • Component styling

Data Fetching

  • Fetching data on the client side
  • Fetching data on the server side
  • getStaticProps vs getServerSideProps

Image Optimization

  • Using the Next.js Image component
  • Configuring image optimization
  • Best practices for image handling

Custom Document and App

  • Customizing the Document (Document.js)
  • Customizing the App (App.js)
  • Adding global styles and scripts

Middleware

  • Using middleware in Next.js
  • Creating custom middleware

Internationalization (i18n)

  • Setting up internationalization
  • Localized routing
  • Managing translations

State Management Options

  • Using React Context API
  • Using Redux with Next.js
  • Other state management libraries (e.g., Zustand, Recoil)

CSS and Sass

  • Importing CSS files
  • Using Sass/SCSS
  • CSS Modules

Styled-components

  • Setting up styled-components
  • Using styled-components in Next.js

Testing in Next.js

  • Setting up Jest for testing
  • Using React Testing Library
  • Writing and running tests

Any alternative approaches/features

No response

Additional Context

No response

@deepakbhagatiitr
Copy link

Please assign this issue to me @jfmartinz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants