I am following this tutorials:
https://github.com/adobe/aem-sample-we-retail-journalHere, all the child
pages JSON is stored into __INITIAL_STATE__ id. I want to know why it is
done in this way, can someone please explain?Instead what if I navigate
on different links and then on click of each links ...
that code is just in React, but how React component is populating
myurl? there must be some React component State properties which is read
, check that code, also when you say autometically, there must be some
code on componentDidMount() which triggers async call. Sorry without
your further code I cannot help you.
this issue comes when first time page load or after page is loaded then
when you navigate between links? It seems you have custom code to call
model.json on every link click, it could be issue with react component
state is not updated correctly, so if you post your code then will be
better to upders...
Understood, are you using Adobe SDK or own to call model? if Adobe SDK
then can you check what is the value of cq:pagemodel_root_url when you
have this error, ideally it should have yourUrl.model.json and then
React code reads it from there
I am evaluating how is it possible to implement Server Side Rendering in
SPA app with React and AEM as content service. This is the approach I
see Next.js suggest to have per-rendered and all most all CMS system
suggests: 1. User request a page from react app running on Node server2.
Node server req...
Hello,I am exploring the option of developing Server Side React App with
Adobe I/O runtime as described here :
know the advantage of using Serverless technology but I do not
understand the real benefi...