Skip to content

A Demo showing an overview of the build states of GitHub branches page using lazy loading.

License

Notifications You must be signed in to change notification settings

lowsky/react-suspense-meetup-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b766f4a · Feb 21, 2025
Jan 9, 2025
Nov 25, 2024
Apr 1, 2023
Feb 4, 2025
Nov 25, 2024
Nov 24, 2022
Nov 26, 2023
Nov 23, 2022
Nov 23, 2022
Jul 4, 2023
Nov 23, 2022
Nov 23, 2022
Feb 21, 2025
Nov 26, 2023
Nov 26, 2023
Nov 23, 2022
Jan 9, 2025
Jul 7, 2023
Nov 23, 2022
Nov 26, 2023
Nov 25, 2024
Jul 4, 2023
Feb 21, 2025
Nov 26, 2023
Nov 26, 2023
Feb 21, 2025

Repository files navigation

React-Suspend with data-loading

There are these different modes how the page data are loaded:

screenshot.png

On the right side, there is a Cache-loading inspector "hitchcock" by @pombo, based on the work of Jared Palmer

Purpose: React Suspense - demo

List the (feature) branches of a GitHub repository with its last commit's

  • build status-es
  • linked PR
  • commit message and author
  • linked deployment

Getting started

After invoking this in a shell

git clone https://github.com/lowsky/react-suspense-meetup-demo
cd react-suspense-meetup-demo

yarn

then set up the github-token (see below: Setup GitHub Token )

before starting local dev mode via:

yarn dev

This runs Next.js in dev-mode

Now, you can open the home http://localhost:3000 in your browser.

Have fun!

setupGithubToken

You need to create your own github-token (see https://github.com/settings/tokens/) and store it locally in .env file

# create an .env file with this content ...
GITHUB_TOKEN=XXX

# ... and replace the XXX with your API key
# typically something like
# GITHUB_TOKEN=ghp_....

Stack

License

Licensed under the Apache License 2.0, Copyright ©️ 2023 Robert Hostlowsky. See LICENSE for more information.

About

A Demo showing an overview of the build states of GitHub branches page using lazy loading.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published