[gwt-contrib] Re: Trying to use JsInterop to work with React

2016-03-19 Thread Paul Stockley
> > Well I think I have hit a roadblock with the current state of JsInterop. > Given the code below > > > public class Example { > > @JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "Object") > private static class State extends BaseState { > public String

Re: [gwt-contrib] Re: Trying to use JsInterop to work with React

2016-03-19 Thread James Horsley
Paul, brilliant news. Look forward to hopefully taking a look at your code if you're able to share. On Fri, Mar 18, 2016 at 4:15 PM Paul Stockley wrote: > Success! With some javascript hacking I have managed to get it working. I > can access state and props and set state

[gwt-contrib] Re: Trying to use JsInterop to work with React

2016-03-19 Thread Paul Stockley
I am running the latest snapshot build as of a couple of days ago and starting SD mode with Running CodeServer with parameters: [-noprecompile, -port, 9876, -sourceLevel, 1.8, -bindAddress, 127.0.0.1, -launcherDir,

Re: [gwt-contrib] Re: Trying to use JsInterop to work with React

2016-03-19 Thread Paul Stockley
I tried using a JsType instead of JavaScriptObject and it is still undefined. I have logged a ticket with the details. On Wednesday, March 16, 2016 at 12:05:30 PM UTC-4, Goktug Gokdogan wrote: > > > > On Wed, Mar 16, 2016 at 8:51 AM, Paul Stockley > wrote: > >> I am

[gwt-contrib] Re: Rules for managing issues on GitHub

2016-03-19 Thread Thomas Broyer
On Friday, March 18, 2016 at 10:52:14 AM UTC+1, Stanislav Spiridonov wrote: > > Hi, > > our last Steering Committee meeting last Wednesday > > > Please, publish meeting notes, if it is't a secrete :) > Daniel (cc'd) was taking the notes during the meeting; let's ask him ;-) -- You received

Re: [gwt-contrib] Re: Trying to use JsInterop to work with React

2016-03-19 Thread 'Goktug Gokdogan' via GWT Contributors
On Tue, Mar 15, 2016 at 8:26 PM, Paul Stockley wrote: > I have made a bit more progress. I managed to get functional components > working. > > @JsType(isNative = true) > private static class FuncProps extends BaseProps { > public String aProp; > } > > static final

[gwt-contrib] Re: Rules for managing issues on GitHub

2016-03-19 Thread Stanislav Spiridonov
Hi, our last Steering Committee meeting last Wednesday Please, publish meeting notes, if it is't a secrete :) Best, Stas On Monday, March 14, 2016 at 1:19:23 AM UTC+1, Thomas Broyer wrote: > > Hi all, > > Here's a document a wrote (months ago actually) about the differences > between

Re: [gwt-contrib] Re: Trying to use JsInterop to work with React

2016-03-19 Thread 'Goktug Gokdogan' via GWT Contributors
I'm sorry, I'm very busy right now, but I will take a look as soon as I can. On Wed, Mar 16, 2016 at 5:16 PM, Paul Stockley wrote: > Well I think I have hit a roadblock with the current state of JsInterop. > Given the code below >> >> > > >> public class Example { >> >>

Re: [gwt-contrib] Re: Trying to use JsInterop to work with React

2016-03-19 Thread 'Goktug Gokdogan' via GWT Contributors
On Wed, Mar 16, 2016 at 8:51 AM, Paul Stockley wrote: > I am running the latest snapshot build as of a couple of days ago and > starting SD mode with > > Running CodeServer with parameters: [-noprecompile, -port, 9876, > -sourceLevel, 1.8, -bindAddress, 127.0.0.1,

Re: [gwt-contrib] Re: Trying to use JsInterop to work with React

2016-03-19 Thread Paul Stockley
Success! With some javascript hacking I have managed to get it working. I can retrieve props and state and also set state from an onClick callback. Below is my contrived solution @JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "Object") public class AbstractClassicComponent {