reactjs / reactjs/react.dev

[Bug]: viewTransition Page example codes doesn't working correctly "Bun"

Open
#8,120 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug: unconfirmed
Dominant language
JavaScript
Stars
11.8k
Forks
7.9k
Avg merge
1d 11h
Merged PRs (30d)
11

Description

Summary

All example codes preview is broken. Probably bun missing package error. According to https://bun.com/docs/runtime/nodejs-compat#node%3Acrypto has crypto compabilt on it. Maybe not using correct version of Bun.

Page

https://react.dev/reference/react/ViewTransition

Details
Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the ViewTransition reference page and reproduce the broken example previews using Bun. Check the reported missing-package or node:crypto compatibility error, then verify that all example previews load and run correctly under the supported Bun version.

Written by the indexing model from the issue text.

Assessment

Tech stack
bun, javascript, react
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.