dioxus-std
                                
                                
                                
                                    dioxus-std copied to clipboard
                            
                            
                            
                        A library to provide abstractions to access common utilities when developing Dioxus applications.
This PR primarily revamps the ``use_preferred_color_scheme`` hook into ``use_system_theme``. Additionally, this PR features a few other things such as: - Improved docs - Feature name changes - *All* tests passing!...
Add an mdbook for SDK for use in the docsite similar to how the current Dioxus mdbook is set up. This will probably be moved to the docsite repo once...
Dioxus SDK is a little tricky to develop because it supports many platforms and features. We should add a guide that details switching platforms and features with Rust Analyzer, project...
Add doc testing to the CI to validate that all doc examples are correct.
Some of the docs for the ``storage`` feature of SDK look to be incorrect. For example, the `use_persistent` hook has the doc: > A persistent storage hook ***that can be...
Add top-level module documentation for the library. We should describe what Dioxus SDK is, explain what it offers, and give some small examples of what you can do with it.
# Specific Demand `use_color_scheme` is only available on the web platform. It would be great to add support for desktop platforms. This would fix an issue where the entire workspace...
See https://github.com/DioxusLabs/dioxus-std/pull/17#issuecomment-1800687581 for the original issue wherein I reported that #17's use of `postcard` fails to deserialize certain types from disk onto `Signal`s. Here's a simple type that will trigger...
Also disable default features and just enable `default = ["macro", "signals", "hooks"]`
One of `use_debounce`'s dependencies used `std::time::Instant` which is not supported on wasm. This PR fixes that.