kotlin-react
Kotlin wrapper for the React library. The major version number of this wrapper matches that of React itself.
kotlin-react vs kotlin-react-legacy
kotlin-react
only supports the new DSL for React elements (ChildrenBuilder
, aka "no attrs"), while kotlin-react-legacy
provides the familiar RBuilder
DSL.
See ../CHANGELOG.md#pre282 for more details.
Usage
Please refer to the ../docs/guide/react.md for how to use the Kotlin React DSL.