Re: GWT history with push state

2020-10-15 Thread Craig Mitchell
As Tomas said, not directly with History. It's simple JSNI though: public static native void updateURL(String newUrl) /*-{ $wnd.history.pushState(newUrl, "", newUrl); }-*/; public static native void initialise() /*-{ $wnd.onpopstate = $entry(function(e) {

Re: Why Don’t You Use Java for Programming the Client-Side Web Apps on Web Browser?

2020-10-15 Thread Craig Mitchell
> Why Don’t You Use Java for Programming the Client-Side Web Apps on Web Browser? Because of React. Companies are investing in creating reusable React components. Reacts virtual DOM makes it very difficult to integrate a React component into a GWT app, so you end up just using React, and