Closed bobbayunga closed 5 years ago
Hi @DriesVanbilloen SSR is currently in tech preview, you can see a POC using the We.Retail Journal project. Which uses a separate node server to generate the static markup of the app, which is then consumed server to server. This will be a chapter in the WKND Events tutorial once an official productized version is released.
Oh ok, but still,I don't understand the workflow in this project? How does the page render and where does it gets it's data?
So at a high level:
export default withModel(App);
is responsible for making the call and then mapping the JSON to React componentsThe editable portion is included in a separate iFrame that goes in and inspects the React app and renders edit capabilities. I'd recommend viewing the following:
Thanks for the information, I think we will talk a lot more in the future :) I hope it's fine that I make issues on the github to ask question or what is the standard for asking questions?
No problem @DriesVanbilloen! Please ask away. As a general guide I would try to keep issues on GitHub more or less related to the tutorial. For more general questions go to the forums, but either way continue to reach out 👍
Hi, I'm trying to understand the concept of the Server side rendering that is introduced in the SPA Editor. I tried to figure out how a component is rendered on the screen. I don't find where the SPA editor sends a request to the AEM instance to get information about the requested html page. It's very confusing to me and maybe it's because I'm new to the AEM World
Thanks!!!