Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.23 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.23 KB

Maven Central

kotlin-react-dom

Kotlin wrapper for the React DOM library. The major version number of this wrapper matches that of React DOM itself.

kotlin-react-dom vs kotlin-react-dom-legacy

kotlin-react-dom does not depend on kotlinx.html, the HTML typings it provides are generated from TypeScript types directly. They are therefore more complete and up-to-date.

kotlin-react-dom-legacy depends on kolinx.html and its HTML typings are maintained manually.

See CHANGELOG.md for more details.

Maven

<project>
    <dependency>
        <groupId>org.jetbrains.kotlin-wrappers</groupId>
        <artifactId>kotlin-react-dom</artifactId>
        <version>VERSION</version>
    </dependency>
</project>

Gradle

repositories {
    mavenCentral()
}

implementation("org.jetbrains.kotlin-wrappers:kotlin-react-dom:VERSION")

Internals

Declarations in src/jsMain/generated are generated by types-kotlin. Manual changes are prohibited.