Repository navigation
Commit 33e579d
authored
fix(example): resolve react/react-native from the example app (#6)
In this library+example layout, npm auto-installs the library's peerDependencies
(expo, react, react-native) at their latest versions into the repo-root
node_modules. The example's Metro watches the monorepo root, so codegen could pull
the root's newer react-native and fail ("Unable to determine event arguments" in
VirtualViewNativeComponent). Pin the react/react-native singletons to the example's
own node_modules and block the root copies.1 parent 8bc3144 commit 33e579d
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
18 | 34 | | |
0 commit comments