Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Why React example does not use Async call to fetch json of requested page


Level 2

I am following this tutorials:

Here, 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 if I call model json of that page via Async fetch and then accordingly set __INITIAL_STATE__ id. What problem in this approach? 


Topics help categorize Community content and increase your ability to discover relevant content.

4 Replies


Community Advisor


Can you please check the latest sample project for the implementation


I am not a react expert so actually can't comment on approach but you can have a look to another sample SPA project from Adobe.


Level 2

I do not understand why you guys accept wrong answer as correct answer!!!!! crazy