ehsan

1.7K posts

ehsan banner
ehsan

ehsan

@byteab

React ( native ) developer 𓂆 contributor @tamagui_js • currently @send Ehsan Sarshar

Muscat, Oman 🏖️ Se unió Nisan 2024
778 Siguiendo483 Seguidores
ehsan
ehsan@byteab·
Happy Eid 🌙 and Nowruz 🌷
English
2
1
3
45
K.O.O
K.O.O@Dominus_Kelvin·
EJS > JSX
Latviešu
14
0
10
1.8K
ehsan
ehsan@byteab·
@kzzzf UI thread frame drops are inevitable specially in low end devices. Animations not blocked by UI thread seems more preferable
English
0
0
1
41
Krzysztof Magiera
@byteab If the UI thread is lagging your app is completely non-interactive and you’ve got other problems than some simple animations not running
English
2
0
11
781
Krzysztof Magiera
Reanimated has a CSS animations API and that's what we recommend for simple cases like this. No need for shared values or worklets in such simple scenarios. Our CSS impl has no JS overhead, doesn't use worklets, follows the well-known CSS syntax and works for ALL styleable props
Janic@janicduplessis

Finally got to build this. Create animations that use Core Animation on iOS and Animator on Android with zero JS overhead. Same animation. But one keeps running smoothly even when the UI thread is lagging. Introducing react-native-ease 🍃

English
9
11
173
16.5K
Habib Khan
Habib Khan@HabibKhanT·
Another war the mainstream media barely talks about. Not Iran, Gaza or Dubai. This is Kabul, where the Pakistani military bombed a hospital, killing 200+ people. The same military that massacred Afghans through proxies is now bombing Afghans directly.
English
69
361
954
33.5K
MENA Visuals
MENA Visuals@menavisualss·
🐪🇴🇲 Camel cooling off in the sea in Salalah village, Dhofar, Oman
Indonesia
53
661
6.3K
186.4K
Rhys
Rhys@RhysSullivan·
decided to open up linkedin and this was the first thing i saw
Rhys tweet media
English
16
2
262
43.9K
Apple Design
Apple Design@TheAppleDesign·
If this is what Dynamic Island looks on the upcoming MacBook Pro Just take my money Apple
English
112
91
2.4K
171.1K
ehsan retuiteado
Nate
Nate@natebirdman·
... and with that, One v1 is just about ready One is the only React Native framework that lets you: ✓ Share near 100% of code between web and native ✓ Render to truly native UI on both platforms ✓ Get 100% Lighthouse score on web — easily Full announcement coming soon
English
4
9
71
4.3K
Xuan Huang · 黄玄
Xuan Huang · 黄玄@Huxpro·
Sad to see Messenger Desktop go. It was the most visible (if not the only) @reactnative desktop app from Meta. Now Meta has little incentive left to push RN on desktop, leaving Microsoft as essentially the sole stakeholder. Seems like nobody can really shake @electronjs.
Xuan Huang · 黄玄 tweet media
English
11
2
87
14.7K
Satyajit Sahoo
Satyajit Sahoo@satya164·
Last week I was playing with keeping content visible with `<Activity mode="hidden">` and managed to come up with 2 approaches that work on native and web. Should I write an article about it?
English
12
3
108
16.6K
Allen
Allen@zeroxBigBoss·
@byteab zero + one handling it without a sweat but I couldn't convince enough people to try it concurrently to really stress it lol
English
1
0
2
27
Allen
Allen@zeroxBigBoss·
A real-time sync experiment. Interacting with this site broadcasts the changes to everyone. Hop in and play around, chat anonymously! Have fun. bop.metalrodeo.xyz
English
1
1
9
218
ehsan
ehsan@byteab·
@m090009 yeah your points make sense, compute shaders seems to be much powerful different thread might work, but because its async it might still have frame drop with Skia because of running in 2 threads.
English
1
0
1
23
Meltohamy 𓂆
Meltohamy 𓂆@m090009·
Tbh it was good till a point, and then there was a route to run it on a different thread than the UI, but tbh when I discovered the gpu route I thought that it would be way better. My initial model was IOS spritekit which uses GPU acceleration, so compute shaders is the way to go for now.
English
1
0
2
70
Meltohamy 𓂆
Meltohamy 𓂆@m090009·
🔥 Finally got back to Scratch-2D, my 2D physics engine for React Native 🎥👇 Initial version runs entirely on UI thread via Worklets — way smoother than matter-js on JS thread. New build uses TypeGPU compute shaders — handling 1000 circles with collision detection is super smooth. Still early, but the GPU shift is game-changing. let me know if it's something you'll want to use ? #TypeGPU #ReactNative #Reanimated #Expo #BuildInPublic @swmansion @iwoplaza @wcandillon
English
4
6
60
3.9K
ehsan
ehsan@byteab·
@n1tranquilla tbh haven't read it yet 😄 but I'll read it
English
0
0
1
11
Chris Halaska
Chris Halaska@chalaska·
The AI products that win won't be the most powerful. They'll be the ones where users don't have to think about the AI at all.
English
3
1
5
920