Hi everyone,
I just read about server side rendering here in the Forum, and I want to implement that onto my website ASAP.
Does anyone have any thoughts or ideas on what are the best ways to implement this on every page of my website?
I did find this, but still don’t get a very hard grasp of the concept.
import {local} from 'wix-storage';
import wixWindow from 'wix-window';
$w.onReady(function () {
if (wixWindow.rendering.env === "browser") {
/*Do I basically just put all of my page/site code here,
except from import/export? */ }
});
I appreciate any comments or suggestions,
Thanks!