Sign in

Jakub Piasecki

@jpiasecki.com
176 followers 78 following 12 posts

Working with the New Architecture in React Native and making some gestures at Software Mansion. Also top 10k at beatleader.xyz

PostsRepliesMedia
Jakub Piasecki @jpiasecki.com · 10/02/2025
They do work on Android, though it seems they are broken on iOS. We'll look into it 🫡
130
Jakub Piasecki @jpiasecki.com · 21/01/2025
react-native-horse delivers again
040
Jakub Piasecki @jpiasecki.com · 10/01/2025
Unlike what their names suggest, they are not symmetric and you need to override both to get the desired behavior, which is not stated anywhere.
130
Jakub Piasecki @jpiasecki.com · 10/01/2025
To give some context, there are two methods on iOS which may be used to implement this behavior: `shouldBeRequiredToFailByGestureRecognizer` (developer.apple.com/documentatio... ) and `shouldRequireFailureOfGestureRecognizer` (developer.apple.com/documentatio... ).
130
Jakub Piasecki @jpiasecki.com · 10/01/2025
Hmm, looks like it was due to the native relation that GH created not being symmetric: github.com/software-man....
github.com
Make `blocksGesture` symmetric on native iOS by j-piasecki · Pull Request #3322 · software-mansion/react-native-gesture-handler
Description Should fix #3321 This PR makes the native implementation of blocksGesture symmetric. Previously, the logic was implemented only in shouldBeRequiredToFailByGestureRecognizer, now, it&#39...
130
Jakub Piasecki @jpiasecki.com · 09/12/2024
Doing a little side project now and I can't figure it out - how'd you all use React Native before proper useLayoutEffect?
120
Jakub Piasecki @jpiasecki.com · 27/11/2024
Yep! I wanted to have it in Gesture Handler so I went and added it 😄
0111
Jakub Piasecki @jpiasecki.com · 26/11/2024
Unfortunately, shadow nodes from the core are marked as final so you cannot simply extend them, and deriving on Java/ObjC isn't enough.
120
Jakub Piasecki @jpiasecki.com · 26/11/2024
Yeah, on the new architecture measurement is done in the shadow nodes (::measureContent) so just copying the ones from RN would do the trick. This would also fix nesting Text components since it's also handled there: github.com/facebook/rea...
github.com
110
Jakub Piasecki @jpiasecki.com · 22/11/2024
The perfect song to listen to while enabling bridgeless mode www.youtube.com/watch?v=_f9b...
youtube.com
Cut The Bridge (Official Audio Visualizer) - Linkin Park
YouTube video by Linkin Park
030
Jakub Piasecki @jpiasecki.com · 14/11/2024
Waking up at 2 am hits differently when you do it to get to an airport in time instead of to play a new game on release.
060
Jakub Piasecki @jpiasecki.com · 12/11/2024
I'm sorry you had to go through this 🙈. Do you happen to have a small reproduction by any chance?
000