Closed tomekzaw closed 3 months ago
Are the values added on the UI thread? 🤯
Are the values added on the UI thread? 🤯
Nope, they are added on the JS thread. Primarily, I wanted to use Layout Animations so I need React renders for that.
TODO: fix bug that new tiles are added even though the rest of the board hasn't changed when swiping in the same direction multiple times
nice, I can play this on my flight to appjs
Is the bug fixed? @bartlomiejbloniarz 🙏
@tjzel yes!
So, can we merge it, or are we waiting for something?
Summary
This PR adds 2048 game example.
https://github.com/software-mansion/react-native-reanimated/assets/20516055/db10f66c-707d-4442-959f-ee455fe62bd6
Test plan
Just play the game.