On Monday, November 16, 2015 at 5:13:35 PM UTC+1, Ed wrote: > > @Thomas: thanks for your input. Yes, I remember I also looked at your > Html5Historian code as example. > Do you know if or how, the Html5 pushState will be supported in the gwt > core? > I think it should be possible to support it the way I implemented it: use > pushState if the browser supports it, else the old hash fragment method is > used. >
I would say "not". pushState is quite widely supported http://caniuse.com/#feat=history and fallbacks to location.hash have plenty of implications (it won't only be used in browsers that don't support pushState: people share links). I think given the wide and widening support for pushState (click "usage relative" on caniuse) it's easier and safer to fallback to plain navigation to the new URL (location.assign). -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
