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
it('[TODO] it does not warn if you render a server element passed to a client module reference twice on the client when using useId',async()=>{
569
+
// @TODO Today if you render a server component with useId and pass it to a client component and that client component renders the element in two or more
570
+
// places the id used on the server will be duplicated in the client. This is a deviation from the guarantees useId makes for Fizz/Client and is a consequence
571
+
// of the fact that the server component is actually rendered on the server and is reduced to a set of host elements before being passed to the Client component
572
+
// so the output passed to the Client has no knowledge of the useId use. In the future we would like to add a DEV warning when this happens. For now
573
+
// we just accept that it is a nuance of useId in Flight
0 commit comments