expo / snack

Expo Snack lets you run Expo in the browser.
https://snack.expo.dev
MIT License
347 stars 96 forks source link

fix: add codegen native component as external #559

Closed byCedric closed 4 months ago

byCedric commented 4 months ago

Why

This adds codegen native component as external, and loads it directly from the react-native instance in the Runtime. It's an attempt to fix react-native-svg on Snack.

How

Test Plan

See staging, load a project with react-native-svg (see expo/expo#27171)

byCedric commented 4 months ago

Seems to be working again for https://staging-snack.expo.dev/@bycedrictest/react-native-svg-example