Thursday, April 13, 2017

Re: GWT React - Update

You can't use uibinder to define your react components.  You can use React to implement a GWT widget so you get the benefit of the virtual dom. You can also embed top level React components within ui binder files. Take a look at this sample https://github.com/GWTReact/gwt-react-examples/tree/master/src/gwt/react/widget_interop . I will put together a post sometime on how we are integrating React into our existing GWT codebase.


On Thursday, April 13, 2017 at 2:52:28 AM UTC-4, sameep singhania wrote:
Can I use ui binder with gwt-react?
Can I also use my widgets inside react elements, so that I can harness the virtual DOM power even for GWT Widgets?


On Thursday, 7 April 2016 19:05:50 UTC+5:30, Paul Stockley wrote:
I have managed to get Redux working. I implemented the following examples

http://redux.js.org/docs/introduction/Examples.html#counter
http://redux.js.org/docs/introduction/Examples.html#todos-with-undo

You can see the code on my google drive below:

https://drive.google.com/folderview?id=0Bxp8vLBG2ol3ZERCc3lHUEhKU2M&usp=sharing

I also updated the todomvc example based on my new more refined API.

I am just creating a sample to exercise most of the React API. I also need to prove out inter-op with existing GWT widgets and also test with a production build. At the moment it only works on the latest snapshot build of GWT2.8. Hopefully a RC candidate will be out by the time I finish.

When this is done I will publish a preview version of GWT React. I would like to get some feedback before I turn it into an official project on Github.

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment