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
I have a Cloudflare Transform Rule so that some visitors to page /XXX actually see page /YYY. These are not redirects: the URL still shows /XXX.
My problem is that <ClientOnly> content uses the URL to decide when to apply, so the client-side content from page /XXX clobbers the content from /YYY (which has no client-side content of its own).
Is there any workaround you can recommend to avoid this behaviour? Maybe by teleporting?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a Cloudflare Transform Rule so that some visitors to page /XXX actually see page /YYY. These are not redirects: the URL still shows /XXX.
My problem is that <ClientOnly> content uses the URL to decide when to apply, so the client-side content from page /XXX clobbers the content from /YYY (which has no client-side content of its own).
Is there any workaround you can recommend to avoid this behaviour? Maybe by teleporting?
Beta Was this translation helpful? Give feedback.
All reactions