When toggling the preview panel on the MDX editor there will be:
A loading indicator while the preview is rendered server-side.
After the loading is finished, the blog will be rendered correctly.
After this finishes, Remix will reload the page in order to ensure everything is up-to-date.
The issue is that the reload on step 3 will cause the preview to be re-rendered and cause a flash of the preview content.
Might need to cancel the refresh in order to prevent this. There is an unstable unsafe_shouldReload api for this, sounds like this might change in the future.
When toggling the preview panel on the MDX editor there will be:
The issue is that the reload on step 3 will cause the preview to be re-rendered and cause a flash of the preview content.
Might need to cancel the refresh in order to prevent this. There is an unstable
unsafe_shouldReload
api for this, sounds like this might change in the future.