Hi everyone,
I hope everyone is doing alright. I’ve come across some bugs & silent errors in the new plugin editor. Here are some tips I hope can be useful to you.
1. Basic compiling errors don’t show an error message
If you write some code that causes the compiler or transpiler to not work (like a missing or an extra {
character) your app preview can become bricked - even the SafeArea at the top of the page will disappear.
And you may find this error in the console:

Inspecting the browser debugger (not bubble’s debugger), you’ll find the code isn’t send to the client side - appearing empty. If any of these things happen, check your code syntax.
2. Spread […] operators in the return statement cause a compiling error
Using a spread operator in the return statement like this:
Causes the same compiling behaviour as we saw above. Bricked app or no code being sent to the client side.
3. Not all gestures are supported
The tap gesture works fine, but trying to configure a Pan gesture (dragging an element around with your finger) does not. Trying to use the default react-native Animated
and PanResponder
does not work on browser preview or on mobile preview. source code
4. We can’t (yet) install npm packages
In the shared tab, you’ll be prompted to install packages. Don’t believe the hype, it’s not available yet!
5. General gesture bugginess
For whatever reason Reanimated
cannot communicate with react-native-gesture-handler
. I have a feeling it’s because the relevant Babel plugin isn’t installed, but I can’t confirm it. Regardless, you’ll come across a lot of “Why isn’t this working?” moments when working . My advice is to not develop plugins that rely on gestures yet until the team has a chance to figure this out.
Hope this helps someone
Jonah