Giter Site home page Giter Site logo

enhancement: Flex support about freya HOT 10 CLOSED

marc2332 avatar marc2332 commented on August 14, 2024 2
enhancement: Flex support

from freya.

Comments (10)

nicoburns avatar nicoburns commented on August 14, 2024 2

I'm not sure if you've given up on Taffy at this point, but now that the CSS Grid implementation has been released the next period of work on Taffy will be focussed on making it easier to integrate with. So far there is:

from freya.

marc2332 avatar marc2332 commented on August 14, 2024 1

I'm not sure if you've given up on Taffy at this point, but now that the CSS Grid implementation has been released the next period of work on Taffy will be focussed on making it easier to integrate with. So far there is:

* A PR which refactors Taffy to enable a new low-level API (where you maintain your own node/style tree and merely call into Taffy's compute algorithms for a single node at a time when it suits your wider layout code) [WIP: Refactor the `LayoutTree` trait DioxusLabs/taffy#326](https://github.com/DioxusLabs/taffy/pull/326)

* A proof of concept integration with Iced using this new API https://github.com/nicoburns/iced_taffy/blob/main/src/grid.rs

That looks interesting, I will make sure to give it a try when it gets stable 😄

from freya.

OlshaMB avatar OlshaMB commented on August 14, 2024 1

Made an rfc #327

from freya.

nicoburns avatar nicoburns commented on August 14, 2024

Ping me if you have any questions or want any help with Taffy. However, I dioxus-native-core already integrates Taffy, and I suspect (although I am by no means sure about this) that you may be better off using that support rather than integrating Taffy directly.

from freya.

marc2332 avatar marc2332 commented on August 14, 2024

Ping me if you have any questions or want any help with Taffy. However, I dioxus-native-core already integrates Taffy, and I suspect (although I am by no means sure about this) that you may be better off using that support rather than integrating Taffy directly.

I am actually not sure if I will actually end up using taffy, atm I am using my own layout engine because I found it hard to integrate with taffy, but maybe that changes in the future. Anyway, thank you 😄

from freya.

OlshaMB avatar OlshaMB commented on August 14, 2024

@marc2332 Could i request an RFC to be created so we have a consensus on how this should look maybe make an rfc repo to discuss the architecture

from freya.

OlshaMB avatar OlshaMB commented on August 14, 2024

I can try writing a proposal

from freya.

OlshaMB avatar OlshaMB commented on August 14, 2024

Or maybe use github discussions for the RFC's?

from freya.

marc2332 avatar marc2332 commented on August 14, 2024

@marc2332 Could i request an RFC to be created so we have a consensus on how this should look maybe make an rfc repo to discuss the architecture

Sure!

Or maybe use github discussions for the RFC's?

An issue is fine

from freya.

marc2332 avatar marc2332 commented on August 14, 2024

Closing in favor of #327

from freya.

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.