/reanimated-refresh-bug

Fast Refresh error reproduction for Reanimated 2

Primary LanguageJavaScript

yarn install

yarn ios

Reanimated 2 Bug

First, run the app, and press in/out on the shape. Notice that the opacity changes when it's pressed vs not. All good.

Next, try adding / removing the extraState prop from Shape. Then save.

Now try pressing in/out on the shape again. It doesn't work.

Here's a video explanation: https://www.loom.com/share/91bc5f2a6d074d209149e2531d9ff8f3