Project has been archived as we no longer want to continue supporting it. If anyone wants to take over support it should be relatively easy to adopt. Until then consider the project shuttered.
This library provides a GWT widget that renders a React4j element.
The simplest way to use component;
- add the following dependencies into the build system. i.e.
<dependency>
<groupId>org.realityforge.react4j.widget</groupId>
<artifactId>react4j-widget</artifactId>
<version>1.57</version>
</dependency>
-
add the snippet
<inherits name="react4j.widget.ReactWidget"/>
into the .gwt.xml file. -
interact with the widget from within the browser.
RootLayoutPanel.get().add( new ReactWidget( h1( "Hello World" ) ) );
For more information about component, please see the Website. For the source code and project support please visit the GitHub project.
The component was released as open source so others could benefit from the project. We are thankful for any contributions from the community. A Code of Conduct has been put in place and a Contributing document is under development.
The component is licensed under Apache License, Version 2.0.