Fundament fuer den zoombaren Desktop-Workspace: - react-native-gesture-handler@2.14.1, react-native-reanimated@3.6.2, react-native-webview@13.6.4 (kompatibel mit RN 0.73.4 / Hermes / old-arch) - babel.config.js: reanimated/plugin als letztes Plugin - index.js: gesture-handler als allererster Import - App.tsx: GestureHandlerRootView um den gesamten Baum Hinweis: nach npm install einmalig `npm start --reset-cache` + nativer Rebuild (gradlew clean), sonst brechen die reanimated-Worklets still. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
7 lines
291 B
JavaScript
7 lines
291 B
JavaScript
module.exports = {
|
|
presets: ['module:metro-react-native-babel-preset'],
|
|
// react-native-reanimated/plugin MUSS das LETZTE Plugin sein (Worklet-Transform).
|
|
// Nach dem Hinzufuegen einmalig Metro-Cache leeren: `npm start --reset-cache`.
|
|
plugins: ['react-native-reanimated/plugin'],
|
|
};
|