Giter Site home page Giter Site logo

shaban-eissa / next.js-partial-rendering Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 66 KB

Partial Prerendering – an experimental feature that allows you to render a route with a static loading shell, while keeping some parts dynamic. In other words, you can isolate the dynamic parts of a route.

CSS 12.91% TypeScript 82.53% JavaScript 4.56%

next.js-partial-rendering's Introduction

Next.js Partial Rendering

Demo built with Next.js using partial rendering experimental feature with Suspense API.

Table of Contents

Features

  • Partial Rendering: Allow to render rest of the page in same time an heavy operations is happening like fetching data from server and display fallback UI until data is fetched.

Demo

Next.js.Partial.Hydration.Example.mp4

Installation

  1. Clone the repository:

    git clone https://github.com/Shaban-Eissa/Next.js-Partial-Rendering
  2. Install dependencies:

    cd Next.js-Partial-Rendering
    npm install
  3. Run the application:

    npm run dev

    The application will be accessible at http://localhost:3000.

Technologies

This project utilizes a robust stack of modern technologies for efficient development and optimal user experience:

  • Next.js
  • Typescript
  • Partial Rendering
  • Tailwind CSS

Contributing

Contributions are welcome! Please follow these guidelines:

  1. Fork the repository.
  2. Create a new branch for your feature/bugfix: git checkout -b feature-name.
  3. Commit your changes: git commit -m 'Add some feature'.
  4. Push to the branch: git push origin feature-name.
  5. Open a pull request.

next.js-partial-rendering's People

Contributors

shaban-eissa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.