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 expect flipping the ssr true flag to have an effect. This seems to only happen when a prerender array is also defined even though it's not relevant to the current route.
Actual Behavior
If you start with ssr: true, changing it should have an effect. Video of issue here: https://youtu.be/epqpC3KmMM0
rr-ssr.480.mov
I'm using actions/loaders so it should immediately blow up when ssr is toggled off. I have to restart the dev server for the change to actually take affect.
The text was updated successfully, but these errors were encountered:
This should be resolved by #12948 and available in the next release.
The dev server should now error if it finds a loader in a non-pre-rendered route with ssr:false without requiring a server restart. It does require a browser reload to trigger the error at the moment.
I'm using React Router as a...
framework
Reproduction
Clone the completed address-book tutorial here: https://github.com/dadamssg/address-book
System Info
Used Package Manager
npm
Expected Behavior
I expect flipping the
ssr
true flag to have an effect. This seems to only happen when aprerender
array is also defined even though it's not relevant to the current route.Actual Behavior
If you start with
ssr: true
, changing it should have an effect. Video of issue here: https://youtu.be/epqpC3KmMM0rr-ssr.480.mov
I'm using actions/loaders so it should immediately blow up when
ssr
is toggled off. I have to restart the dev server for the change to actually take affect.The text was updated successfully, but these errors were encountered: