You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the client it logs 5, and on the server it logs a promise. It should be the same on both the server and client.
Once #13112 is fixed, it should be fairly simple to have withValue synchronously return the value from the function, so it is only async if the passed function is also async, and it would behave the same on the client and server.
The text was updated successfully, but these errors were encountered:
With this code:
On the client it logs
5
, and on the server it logs a promise. It should be the same on both the server and client.Once #13112 is fixed, it should be fairly simple to have
withValue
synchronously return the value from the function, so it is only async if the passed function is also async, and it would behave the same on the client and server.The text was updated successfully, but these errors were encountered: