Jakub Piasecki's Avatar

Jakub Piasecki

@jpiasecki.com

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

167
Followers
78
Following
12
Posts
07.09.2024
Joined
Posts Following

Latest posts by Jakub Piasecki @jpiasecki.com

They do work on Android, though it seems they are broken on iOS. We'll look into it ๐Ÿซก

10.02.2025 17:23 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

react-native-horse delivers again

21.01.2025 20:06 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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.

10.01.2025 10:09 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

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... ).

10.01.2025 10:09 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
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...

Hmm, looks like it was due to the native relation that GH created not being symmetric: github.com/software-man....

10.01.2025 10:09 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Doing a little side project now and I can't figure it out - how'd you all use React Native before proper useLayoutEffect?

09.12.2024 22:58 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Yep! I wanted to have it in Gesture Handler so I went and added it ๐Ÿ˜„

27.11.2024 11:13 ๐Ÿ‘ 11 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 1

Unfortunately, shadow nodes from the core are marked as final so you cannot simply extend them, and deriving on Java/ObjC isn't enough.

26.11.2024 16:22 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

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...

26.11.2024 16:21 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Cut The Bridge (Official Audio Visualizer) - Linkin Park
Cut The Bridge (Official Audio Visualizer) - Linkin Park YouTube video by Linkin Park

The perfect song to listen to while enabling bridgeless mode www.youtube.com/watch?v=_f9b...

22.11.2024 11:21 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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.

14.11.2024 02:18 ๐Ÿ‘ 6 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I'm sorry you had to go through this ๐Ÿ™ˆ. Do you happen to have a small reproduction by any chance?

12.11.2024 11:40 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0