Giter VIP home page Giter VIP logo

Comments (2)

Uriziel01 avatar Uriziel01 commented on May 13, 2024 1

@bkniffler
I guess you could create some reversed translation layer like https://github.com/styled-components/css-to-react-native and the idea seems really usefull and potentially it could lurk in really large audience.

But resulting code would be a larger subset of full CSS implementation than QT implements so the resulting style would not fully match anyway, we can go around inconsistencies where there is something to work with but can not provide functionality that is just missing entirelly. It is only posible to port react-native code into react-native-web because the former represents a subset of full spec available in latter and react-native approach follows CSS spec more closely than QT's.

from nodegui.

bkniffler avatar bkniffler commented on May 13, 2024

Thanks for the reply.

I thought that converting css to objects from within javascript might be an option, I didn't know that QT does only really support CSS as string values. I can work with that, I hope I'll be able to share something with the community.

Thanks for nodegui, it is some amazing tech!

from nodegui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.