DioxusLabs / blitz

High performance HTML and CSS renderer powered by WGPU
Apache License 2.0
2.12k stars 42 forks source link

Adding net crate #123

Closed kokoISnoTarget closed 2 months ago

kokoISnoTarget commented 3 months ago

This adds a net crate with sync and async networking Providers as mentioned in #119 and the discord. Please comment any thoughts regarding the implementation.

nicoburns commented 2 months ago

Oh wow. This PR makes Blitz feel fast (or at least, it did before the workaround was added). Would love to get this merged soon.

The stylesheet bug is pretty bad though. We'll need to get to the bottom of that. It looks like it might only be inline nodes that styles aren't applying to, but I'm not quite sure why that would be as it looks like that's getting rebuilt every frame.

nicoburns commented 2 months ago

Regarding the @font-face support. It would also be cool to port the woff support from https://github.com/DioxusLabs/blitz/pull/107 as a lot of webfonts seem to be in woff format. But I wouldn't block this PR on that: that could be done in a followup.