Yadiel ๐Ÿ‡ต๐Ÿ‡ท @yadiel.dev ยท Jan 18

okay, it's clicking... continuing with the controlled inputs example, we don't need to wrap the setState in a nested transition, right? Unless I have to await a promise for data, then the setData would be in a nested transition. I noticed that I got practically the results in the scheduler track

1 likes 1 replies

?

Replies

Yadiel ๐Ÿ‡ต๐Ÿ‡ท ยท Jan 18

also, I checked the profiler tab and it re-rendered two times, the first render triggered by the setOptimistic fn has a "immediate" priority, and the setState has a "normal" priority, pretty cool