Skip to content

fix(example): add web script and exclude benchmark on web#13

Merged
janicduplessis merged 1 commit intomainfrom
@janic/fix-web-example
Mar 25, 2026
Merged

fix(example): add web script and exclude benchmark on web#13
janicduplessis merged 1 commit intomainfrom
@janic/fix-web-example

Conversation

@janicduplessis
Copy link
Collaborator

Summary

  • Add web script to example (expo start --web)
  • Exclude benchmark demo on web (uses native FrameMetrics module)

Test plan

  • Run yarn example web and verify the app loads without errors
  • Verify benchmark demo does not appear in the demo list on web
  • Verify benchmark demo still works on iOS/Android

@janicduplessis janicduplessis force-pushed the @janic/fix-web-example branch 2 times, most recently from c6a63e5 to 2cb95f0 Compare March 25, 2026 04:38
- Add `web` script to example package.json
- Add .web stub for frame-metrics module (no-op on web)
- Hide benchmark demo from example index on web
@janicduplessis janicduplessis force-pushed the @janic/fix-web-example branch from 2cb95f0 to 10082d6 Compare March 25, 2026 04:38
@janicduplessis janicduplessis merged commit a97be20 into main Mar 25, 2026
4 checks passed
@janicduplessis janicduplessis deleted the @janic/fix-web-example branch March 25, 2026 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant