9 ms·
i've recently built a very complex healthcare application in dioxus and it's been a tremendous joy to work with. right now it's web-only, but the app does run f
by octernion 4mo ago
i've recently built a very complex healthcare application in dioxus and it's been a tremendous joy to work with. right now it's web-only, but the app does run fine as a desktop app when we need it.
having SSR built in means that the UX is amazing - really complex pages load basically instantly, and it degrades just as easily for folks that haven't loaded the WASM. server functions were also fantastic to work with and easy to reason about. and, the hot reloading they built means that most UX changes are reloaded within a ~few seconds, meaning iterating is fast and (mostly) painless.
the native component library dioxus has (dioxus-primitives) is... sparse so i did have to build out a hundred or so basic components, but i've done that across various stacks 5-6 times now over my career so it's a fun little journey at this point. for the components they do provide, the quality bar is very good.
- aatd86 4mo agoWhat components were lacking? Is what you've built accessible somewhere?
- octernion 3mo agono, it's not open source. beyond basic things like amending the styling primitives to be aligned with our aesthetic: - missing primitives (toasts/cards/stacks/inline editable fields/alerts/chips/inputs, etc) - domain heavy components (eg, autocomplete, charts, in our case FHIR renderers) - app systems (eg, i built an actioncable like system which has realtime support for dioxus)
- mahirsaid 4mo agoI would love to see this @octernion. Im very interested in health care apps.
- octernion 3mo agohopefully can share some more about it one day!
- amelius 4mo agoDoes it allow you to do things like: take this font at 20px, outline it with a stroke of 2px, turn that stroke into a path, then use that path as a clipping mask, then render this image using that mask.
- bschwindHN 3mo agoWhen you specify the stroke width of 2px and then turn it into a path, are you expecting the outline of the font to expand? Is the 2px stroke centered on the original glyph path, so 1px is "in" in the glyph and 1px is "out"? I take your question to basically mean "can it expand or shrink a path?" and "can it use a path as a clipping mask?" Or did I misunderstand and you want to only show the image within the 2px sliver itself?
- amelius 3mo agoDon't worry about the specifics, I'm just asking if it can do modern 2D graphics well.
- bschwindHN 3mo agoI know that was the general point of your question, but I'm still curious what you expected the end result to look like. I've been doing some 2D graphics work recently with bezier curves and image clipping, so I did actually want to worry about the specifics :)
- octernion 3mo agothat's not really the purpose of the library. think of it more like react.