gwt-react

Provides Java GWT bindings for React

Лицензия

Лицензия

Категории

Категории

GWT (Google Web Toolkit) Взаимодействие с пользователем Веб-фреймворки React
Группа

Группа

com.github.gwtreact
Идентификатор

Идентификатор

gwt-react
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

gwt-react
Provides Java GWT bindings for React
Ссылка на сайт

Ссылка на сайт

https://github.com/GWTReact/gwt-react
Система контроля версий

Система контроля версий

https://github.com/GWTReact/gwt-react.git

Скачать gwt-react

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.gwtreact/gwt-react/ -->
<dependency>
    <groupId>com.github.gwtreact</groupId>
    <artifactId>gwt-react</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.gwtreact/gwt-react/
implementation 'com.github.gwtreact:gwt-react:1.0.0'
// https://jarcasting.com/artifacts/com.github.gwtreact/gwt-react/
implementation ("com.github.gwtreact:gwt-react:1.0.0")
'com.github.gwtreact:gwt-react:jar:1.0.0'
<dependency org="com.github.gwtreact" name="gwt-react" rev="1.0.0">
  <artifact name="gwt-react" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.gwtreact', module='gwt-react', version='1.0.0')
)
libraryDependencies += "com.github.gwtreact" % "gwt-react" % "1.0.0"
[com.github.gwtreact/gwt-react "1.0.0"]

Зависимости

runtime (1)

Идентификатор библиотеки Тип Версия
com.google.gwt : gwt-servlet jar 2.8.2

Модули Проекта

Данный проект не имеет модулей.

gwt-react

GWT Java bindings for React

Introduction

gwt-react provides Java GWT bindings for React v16.3 based on the new JsInterop capabilities introduced in GWT 2.8

In addition, you can now use the same bindings with Preact v8.1

Prerequisites

Any documentation assumes you are familiar with React. If this is not the case, please take the time to learn the basic concepts first. Check out the resources section for useful links.

You should also be familiar with the GWT 2.8 JsInterop specification. You can find the specification here.

Getting Started

Please take a look at the gwt-react-examples project for details on how to use the library.

You can download the latest release .jar from Maven Central using the following coordinates:

  • groupId    com.github.gwtreact
  • artifactId  gwt-react
  • version    1.0.0

Documentation

Check out the Documentation. There are a number of important concepts specific to gwt-react that may not be obvious, even if you are an experienced GWT developer.

Contributing

Once the project is stable we will be happy to except pull requests. If you find any problems please file issues.

Roadmap

  • Investigate writing an Annotation processor to create fluent prop classes

  • Refine the different prop types for basic HTML elements

  • Refine the CSS prop types and add enumerations and more useful setter methods where possible

  • Remove any dependencies on com.google.gwt.dom.*. Replace with Elemental 2 or something equivalent, DONE

  • Add facility to create factory interfaces like React.DOM.xxx, DONE

  • Add server implementation of Array and StringSet (to allow a JSON structure to be modelled on client/server with one class), DONE

  • Investigate splitting ObjectLiteraL, Array, StringSet... into it's own project, DONE

  • Prepare project(s) for publishing to Maven e.g. add Gradle build/release files , DONE

  • Publish project(s) to Maven , DONE

  • Verify interop within existing Widget based GWT projects DONE, check out widget_interop in the gwt-react-examples project

  • Show how to use npm and webpack to create a javascript bundle DONE, check out the documentation.

Change log

Date Version Description
5/02/2017 1.0.0 Support React 16.3 and GWT 2.8.2
4/29/2017 0.6.0 Support React 15.5, Preact 8.1 and GWT 2.8.1
3/18/2017 0.5.0 Refactored to use more future proof ES6 styled stateful components and added Preact support
10/28/2016 0.3.0 Support react 15.3.2 and GWT 2.8 final release
6/18/2016 0.2.0 Update to use gwt-interop-utils library
5/13/2016 0.1.0 Initial preview release to Maven Central

Resources

com.github.gwtreact

GWT React

Provides GWT Interfaces for React related projects

Версии библиотеки

Версия
1.0.0
0.6.0
0.5.0
0.3.0
0.2.0
0.1.0