Our React developer has asked me the question if Matrix can handle HTML5 history pushState and replaceState. You can read more about how it should work here.
Basically, we’re embedding React code into Matrix and the code involves pulling content from history by way of route or slug and therefore we don’t want full page refresh. I’m sure there are other ways around it but if there is the possibility of serving virtual page/slug into Matrix URL it will be great.
Thanks for the feedback. You are right it can be achieved purely on client side, we eventually managed to get it working. Our JS guys says it was a routing issue within his JS code.