Comments (10)
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) DioxusLabs/taffy#326
- A proof of concept integration with Iced using this new API https://github.com/nicoburns/iced_taffy/blob/main/src/grid.rs
from freya.
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.
Made an rfc #327
from freya.
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.
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.
@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.
I can try writing a proposal
from freya.
Or maybe use github discussions for the RFC's?
from freya.
@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.
Closing in favor of #327
from freya.
Related Issues (20)
- bug: tab key is not listened with `onkeydown` and `onkeyup` HOT 13
- issue: Provide better errors for unsupported combination of elements HOT 7
- request: use_node_size hook HOT 8
- enhancement: Add more information to Differences with Dioxus and make it more noticeable
- enhancement: `use_window` hook HOT 8
- enhancement: Display fatal errors
- issue: Blocking the UI threads leads to DOM inconsistencies and ultimately crashing HOT 29
- Signal panicking when being set in a separate thread HOT 10
- enhancement: Expose scale factor in PlatformInformation HOT 6
- bug: Queued events could be wrongly emitted to Elements whose ElementId (VirtualDOM ID) have been reused HOT 1
- enhancement: Placeholder text for `Input`
- enhancement: Close Window API
- enhancement: Run a weekly CI of freya against Dioxus to be aware of breaking changes
- enhancement: RSX Autocomplete improvements
- enhancement: Minimize and maximize from components HOT 1
- bug: Performances goes down the more text you highlight HOT 1
- idea: Process all the queued events at once without polling the virtual dom in between
- enhancement: Support synching the theme with the OS selected theme
- enhancement: Image optimizations in `NetworkImage`
- enhancement: Reactive Platform data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freya.