Closed kevinaltschuler closed 6 months ago
hol up im gonna just make a PR for this
update, i realised that because im using expo go that it makes more sense for me to just use the web version @dnd-kit/core
Great you found a solution for expo/webpack, indeed for pure react-native apps we don't need to transform jsx as far as I know.
the output files have JSX syntax in JS
this is not right (edit: maybe this may be the default for native and is ok for metro but not webpack unless you specify a new loader for it.)
for example in droppable.js it looks like this
but this has not been packed properly, unless you have a bundler that specifically handles this it gives an error such as
other react native packages are packed as pure js and not jsx
EX from react-native-pager-view