Here, we've modified the 'Preview Changes' button within Wordpress to point to the client-side app and opened a new route to provide revision data.
We've also modified the LoadTemplate component so that it watches for the preview URL parameter. If it's found, the component will pull data from the newly opened preview route instead of the default.
Here, we've modified the 'Preview Changes' button within Wordpress to point to the client-side app and opened a new route to provide revision data.
We've also modified the LoadTemplate component so that it watches for the preview URL parameter. If it's found, the component will pull data from the newly opened
preview
route instead of the default.