Sathya Gunasekaran Profile
Sathya Gunasekaran

@_gsathya

Followers
7K
Following
12K
Statuses
4K

@reactjs @meta; formerly: @v8js @google

London
Joined April 2009
Don't wanna be here? Send us removal request.
@_gsathya
Sathya Gunasekaran
4 months
🎙️I spoke about the latest updates in the React compiler and announced the beta release!
@reactjs
React
4 months
For more details on what's new and upcoming in the React Compiler, check out @_gsathya's talk from React India last week:
0
1
25
@_gsathya
Sathya Gunasekaran
4 days
RT @jherr: There is a lot of FUD about the efficiency of RSCs in React. Let me show you RSCs being twice as fast as Pages SSR and SPAs. htt…
0
4
0
@_gsathya
Sathya Gunasekaran
1 month
@_developit @__morse time to ship with the browser then
0
0
3
@_gsathya
Sathya Gunasekaran
1 month
@_developit @__morse limited efficacy compared to?
1
0
2
@_gsathya
Sathya Gunasekaran
2 months
@puruvjdev something like this
1
0
2
@_gsathya
Sathya Gunasekaran
2 months
@puruvjdev no because you have to manually call the setter to update state which is different from implicitly depending on the `position` object to synchronise state
1
0
6
@_gsathya
Sathya Gunasekaran
2 months
@puruvjdev the react way to do this is to change your API to return a value, setter pair
1
0
3
@_gsathya
Sathya Gunasekaran
2 months
@puruvjdev this a bit problematic as it can leading to cascading renders -- react is logging exactly this in your original example you've created a two way binding that you need to break
1
0
4
@_gsathya
Sathya Gunasekaran
2 months
@puruvjdev compiler doesn't run on node modules but honestly not much to memo here anyways
0
0
0
@_gsathya
Sathya Gunasekaran
2 months
@puruvjdev is the compiler running on the library code too? like the usedraggable hook
1
0
1
@_gsathya
Sathya Gunasekaran
2 months
@puruvjdev yeah this isn't quite right you'll have to wrap the primitives separately in useDeferredValue and memo the onInput callback and create a memo wrapper component or just use the compiler if you don't want to memo manually are you running a prod build?
1
0
0
@_gsathya
Sathya Gunasekaran
2 months
@puruvjdev ah its unused in the example code from the repo in that case use the return value from this hook in the component rather than duplicating state
2
0
0
@_gsathya
Sathya Gunasekaran
2 months
@puruvjdev and turn on the compiler
2
0
1
@_gsathya
Sathya Gunasekaran
2 months
RT @TkDodo: Ref Callbacks got an upgrade with React 19, and the presence of the React Compiler has further changed my thinking about using…
0
31
0
@_gsathya
Sathya Gunasekaran
2 months
RT @reactjs: React v19 is now stable!
0
2K
0
@_gsathya
Sathya Gunasekaran
3 months
@aidenybai @theo đź‘€
0
0
4
@_gsathya
Sathya Gunasekaran
3 months
I got to speak wearing a traditional tamil veshti! :)
Tweet media one
6
6
96