#Why is Remix appending ?_data=root to every request?

1 messages · Page 1 of 1 (latest)

hazy elbow
#

I am debuging some network calls and I observed that this search param is always added to all my calls, is this normal and would this happen in production?

vital oriole
#

Yes, this happens in production. This is what Remix does to get back JSON data from your loaders, instead of getting back HTML like normal. This is what powers the SPA-like page transitions that don't require a full-page browser reload.

hazy elbow
#

Perfect, thank you for the great response! ty