All Projects β†’ JetBrains β†’ Kotlin Wrappers

JetBrains / Kotlin Wrappers

Licence: apache-2.0
Kotlin wrappers for popular JavaScript libraries

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Kotlin Wrappers

Hls Downloader Web Extension
Web Extension for sniffing and downloading HTTP Live streams (HLS)
Stars: ✭ 510 (-34.62%)
Mutual labels:  styled-components
Styled Css Grid
🍱 A tiny CSS grid layout for React
Stars: ✭ 562 (-27.95%)
Mutual labels:  styled-components
Stylelint Processor Styled Components
Lint your styled components with stylelint!
Stars: ✭ 639 (-18.08%)
Mutual labels:  styled-components
React Styled Flexboxgrid
Grid system based on styled-components and flexbox for React
Stars: ✭ 515 (-33.97%)
Mutual labels:  styled-components
Naomi
Sublime Text enhanced syntax highlighting for JavaScript ES6/ES7/ES2015/ES2016/ES2017+, Babel, FlowType, React JSX, Styled Components, HTML5, SCSS3, PHP 7, phpDoc, PHPUnit, MQL4. Basic: Git config files.
Stars: ✭ 544 (-30.26%)
Mutual labels:  styled-components
Glamorous Native
React Native component styling solvedπŸ’„
Stars: ✭ 566 (-27.44%)
Mutual labels:  styled-components
Language Babel
ES2017, flow, React JSX and GraphQL grammar and transpilation for ATOM
Stars: ✭ 476 (-38.97%)
Mutual labels:  styled-components
Styled Tools
Useful interpolated functions for CSS-in-JS
Stars: ✭ 761 (-2.44%)
Mutual labels:  styled-components
Gatsby Portfolio Dev
A portfolio for developers
Stars: ✭ 556 (-28.72%)
Mutual labels:  styled-components
Pizzaql
πŸ• Modern OSS Order Management System for Pizza Restaurants
Stars: ✭ 631 (-19.1%)
Mutual labels:  styled-components
Brian Lovin Next
My personal site
Stars: ✭ 522 (-33.08%)
Mutual labels:  styled-components
Nyancss
🌈 Write plain CSS while reaping benefits of CSS-in-JS
Stars: ✭ 544 (-30.26%)
Mutual labels:  styled-components
Styled Map
A super simple way to map props to styles with Styled Components ✨
Stars: ✭ 582 (-25.38%)
Mutual labels:  styled-components
Styled Components Website
The styled-components website and documentation
Stars: ✭ 513 (-34.23%)
Mutual labels:  styled-components
Websocket Chat
Websocket based group chat app built with socket.io and react.
Stars: ✭ 689 (-11.67%)
Mutual labels:  styled-components
Macro Components
Create flexible layout and composite UI components without the need to define arbitrary custom props
Stars: ✭ 485 (-37.82%)
Mutual labels:  styled-components
Pup
The Ultimate Boilerplate for Products.
Stars: ✭ 563 (-27.82%)
Mutual labels:  styled-components
Orbit
React components of open-source Orbit design system by Kiwi.com
Stars: ✭ 774 (-0.77%)
Mutual labels:  styled-components
React Boilerplate
πŸ”₯ A highly scalable, offline-first foundation with the best developer experience and a focus on performance and best practices.
Stars: ✭ 28,151 (+3509.1%)
Mutual labels:  styled-components
Design System
Priceline.com Design System
Stars: ✭ 604 (-22.56%)
Mutual labels:  styled-components

JetBrains team project CI Kotlin Slack channel

Kotlin Wrappers

This repository hosts a number of Kotlin wrappers for popular JavaScript libraries, such as React, Mocha, and styled-components.

To learn more please refer to the READMEs of individual modules:

All wrappers are available on npm: npm install @jetbrains/<wrapper name>

Maven and Gradle artifacts are published to kotlin.jetbrains.space, see the corresponding README files for package coordinates.

All packages require JDK 8 to be installed.

Examples

  1. To-do list example

  2. Tic-Tac-Toe example

  3. A port of "Thinking in React" example

  4. An example of using axios to fetch remote data. It also demonstrates how to add typings for an external library.

  5. An example of using Quill that shows how to use an external React component.

  6. An example of using react-router-dom that shows how to use react-route-dom with hooks API.

  7. Building Web Applications with React and Kotlin/JS, a tutorial by JetBrains.

  8. A full-stack demo application written in Kotlin for JetBrains Night Moscow 2019.

  9. An example of using react-table that shows how to use react-table with hooks API.

Follow these examples to learn how to start developing your React apps with Kotlin. Good luck and have fun! You also can clone my-kotlin-react-sample to see the result directly.

Experimental IR Backend

Please note that React wrappers in particular heavily relied on specific characteristics of the default backend, which might make your current code incompatible with the new IR backend.

React error: "X not a function" in production mode:

  • Every interface implementing RProps or RState should be marked as external interface. Otherwise, you will get Uncaught ClassCastException. If you’re implementing these interfaces via a class, you can mark it as @JsExport β€” however, we suggest evaluating if you could use an external interface instead.
  • Every component extending RComponent must be marked with @JsExport. Otherwise, you might run into issues such as TypeError: l.render is not a function (react-dom.production.min.js:182)
  • https://youtrack.jetbrains.com/issue/KT-42427, https://youtrack.jetbrains.com/issue/KT-39506

Contributing

Contributions to this project are welcome! Please see the open issues or chat with us on the #react channel in our Slack.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].