Skip to content
Branch: master
Find file History

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
components
contexts
data
pages
public/static
.gitignore
README.md
config.js
next.config.js
package-lock.json
package.json
server.js
yarn.lock

README.md

Demo: Memory-considerate animation toggling in Next

Live Demo

A demo showing how to use memory-considerate animation toggling in Next.

When the app is executed

  • on the server-side, Client Hint Device Memory
  • on the client-side, Memory Hook is used for the signals.

This project was bootstrapped with Create Next App.

Installation

git clone https://github.com/GoogleChromeLabs/adaptive-loading
cd cna-memory-considerate-animation
npm install
npm run dev
npm run build
npm start

Glitch Source

You can’t perform that action at this time.