Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. bridge library between QML and ReactJs
QtWS25 Last Chance

bridge library between QML and ReactJs

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qml c++reactjavascript qmlbridgelibrary
3 Posts 3 Posters 2.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cypress
    wrote on last edited by
    #1

    Is there possible use reactjs in qml project in Qt? I want to use some react component in my qml or on the other hand is it possible use QML in react native ?

    J 1 Reply Last reply
    0
    • C cypress

      Is there possible use reactjs in qml project in Qt? I want to use some react component in my qml or on the other hand is it possible use QML in react native ?

      J Offline
      J Offline
      jayvdb
      wrote on last edited by
      #2

      @cypress https://github.com/grassator/react-qml does the react in QML. And https://github.com/longseespace/react-qml looks more like QML in React.

      1 Reply Last reply
      0
      • I Offline
        I Offline
        Igor Lino
        wrote on last edited by Igor Lino
        #3

        They both seem like dead projects, nothing you can rely on.

        grassator/react-qml last commit was Dec 15, 2017
        only 1 contributor, only active 4 years ago.

        ongseespace/react-qml last commit was Mar 26, 2020
        had 2 contributors, most active 3-4 years ago.

        As you may sensed for the extremely few amount of responses before and considering that ReactJS is since many many years one the most prominent JavaScript library in the world, mostly top 1 (https://2021.stateofjs.com/en-US/libraries/front-end-frameworks). It looks not to be in the priority of the Qt strategy.

        Looking at the architecture of Qt, they seem pretty much incompatible. Qt is a complete stack with a complete e2e experience. Where you don't want to mix other stacks or other frameworks.

        That also means, I think, you cannot for example create QML based components that are reusable in other frontend stacks, where the backend may be anything else. QML are closed components.

        So, in other words no support for Web Components specification: https://www.webcomponents.org/introduction
        which was created to be able to produce reusable components.

        If anybody, disagrees or have more insights, happy to know about it :)

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved