Answer the question
In order to leave comments, you need to log in
How to make a beautiful link in a spa application?
I already asked and it seems like they explained to me, but for some reason not completely. But this fact is not the reason for this question, but more on that later. In the meantime - if the server sends index.html to all routes, will there be a real reload in the browser? That is, if I look at the address of example.com and see an application with an input in which I write hello satana, and then in the address bar I enter a non-existent path example.com/user , to which the server will again give me index.html, will it remain hello satana there? Simply put, is it possible to prevent the browser from reloading from js?
This is what they could not answer me last time. And now the question is - if hello satana remains, then can such tools as browser-sync or sysytem.js prevent this, that is, those that force reload and download?
And then the second day I can not understand what is the reason ..
Answer the question
In order to leave comments, you need to log in
If you have such links, then they should show what will be there, regardless of how this address was opened.
Only this is done AFTER loading the page using the JS router, and not before loading the page as "usually"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question