Thank you, Sangha, I knew you since I started web dev and I'm still watching you, it's weird that sometimes we have friends that we're not aware of, anyway, wanted to take a moment to be grateful for everything that impacted my life, including your content
@electricindro2236 Жыл бұрын
Brilliant explanation! Please keep such tutorials coming. Lot of new things to learn from you. 💗
@dalestewart Жыл бұрын
I definitely will be using the optimistic hook in my own personal projects
@tauqeerhusain7521 Жыл бұрын
Big love sir for every video you trained me a lot ❤❤❤❤❤❤❤❤❤❤
@aymanechaaba Жыл бұрын
Sonny, Can you make a video about background vs on-demand revalidation?
@diegounanue Жыл бұрын
I’m starting with nextjs. Please help does it needs a state manager? When you import a client side component into a server side? The server side html is rendered in the server and the imported client component in the client?
@supercrunch3367 Жыл бұрын
What if you need the ID response from the backend? Or should the frontend generate the ID?
@eliuddyn Жыл бұрын
Sonny The Master 🔥🔥
@victorlongon Жыл бұрын
What create and api endpoint if you are already using server actions? The main idea with server actions is exactly to eliminate this middle lawyer when taking to the backend
@dream__moments Жыл бұрын
What if the server failed with 500 error for that reqst and the optimistic update took place. Then there will be anomalies between server and local state value ??? Please answer this I am facing during Favourite a item
@HorizonHuntxr Жыл бұрын
The UI will rollback the change
@dream__moments Жыл бұрын
@@HorizonHuntxr thanks
@Ashish-_- Жыл бұрын
One doubt: Am I correct that incase the API fails. the revalidateTag will take care of changing value to the previous value?
@fatcat3513 Жыл бұрын
Hey Sonny can we get a CRM Hubspot clone...?
@ludanjubara Жыл бұрын
Nice one!
@mikhaelhermanus5301 Жыл бұрын
Is there any way to use it on react native ??
@LuisVazquez-ky7yb Жыл бұрын
what will happened if the endpoint is down?
@appstuff6565 Жыл бұрын
hey there Sonny, thanks for this. is there a optimistic setState ? I have a list of items with adding functionality and when i want to rearrange them, i am confused. Any advise or help or guidance is appreciated. :D Thanks.
@darshandhabale143 Жыл бұрын
its basically what you are asking for
@lukeskywalker7029 Жыл бұрын
So if I grasp server actions with optimistic updates correctly, there is no need for useSWR anymore? unless interacting with a returned stream, which is why Vercel still uses it in their AI SDK?
@dataSMASH10 ай бұрын
Anyone know how to set the type in useOptimistic? Both values default to ANY
@surendrajat7290 Жыл бұрын
nice video
@pouyajabbarisani Жыл бұрын
I'm trying to write test for useOptimistic using jest, but it says "TypeError: (0 , react_1.experimental_useOptimistic) is not a function" :(
@rodzadra Жыл бұрын
What about MeteorJS?
@alejandromartinezramirez3312 Жыл бұрын
Amazing, ey bro could we have an example how to create pdfs and download them?