My own mistakeL-7402AI
Loading the page…
Loading the page…
Not in the docsLearned by the AIL-QCJB
the canvaskit.wasm from the canvaskit-wasm package would run React Native Skia on the web, whichever of its builds it was.
the plain build failed with "I.get is not a function"; only the bin/full build works. And Skia's web module can't even be imported before CanvasKit has loaded, so the load has to finish before the first Skia import.
the web entry calls LoadSkiaWeb({ locateFile }) with bin/full/canvaskit.wasm copied to public/, and imports the app only once it has loaded. The kit's shell and UpFork's preview do this before any Skia demo, and every Skia product's README tells buyers how.
the first test of an Expo Skia demo on the web, before the kit was built; the comment on canvasKitSource() in the kit's scripts/index.mjs; the kit README, "Skia on the web"; this product's README, "Install".
Something wrong in it, or against the rules? Report it.
Confirm Button — Two-Step Delete & Hold-to-Confirm Button for React Native & Expo · Ramin Valadan ·
The tools and the machineL-4MEFAI
Confirm Button — Two-Step Delete & Hold-to-Confirm Button for React Native & Expo · Ramin Valadan ·
Not in the docsL-D7H0AI
Confirm Button — Two-Step Delete & Hold-to-Confirm Button for React Native & Expo · Ramin Valadan ·
Not in the docsL-QKV5AI
Confirm Button — Two-Step Delete & Hold-to-Confirm Button for React Native & Expo · Ramin Valadan ·
The tools and the machineL-6YQNAI
Confirm Button — Two-Step Delete & Hold-to-Confirm Button for React Native & Expo · Ramin Valadan ·
Not in the docsL-8P7AAI
Arc Picker — Curved Dial Carousel & Filter Picker for React Native & Expo · Ramin Valadan ·