Skip to content

Conversation

DogeDark
Copy link
Contributor

@DogeDark DogeDark commented Feb 19, 2025

Converts SDK to be many individual crates for ease of maintenance and unlocked releases.

So far we have:

  • dioxus-window
  • dioxus-geolocation
  • dioxus-time
  • dioxus-sync
  • dioxus-notification
  • dioxus-storage
  • dioxus-util

Adds:

  • use_timeout
  • sleep
  • Docs to more areas.
  • Hydration support for most APIs.

Revises:

  • All crates to use a runtime unsupported error instead of compilation failure.
  • dioxus-sdk crate to reexport SDK crates.
  • notification to be cleaner and support compilation on all platforms.
  • use_debounce to take MaybeAsync callback. Revised to use use_timeout internally.
  • use_interval to take MaybeAsync callback.

Removes:

  • clipboard in favor of community version.

Todo:

  • Fix CI
  • Finalize crate names.
  • Update primary README.md
  • Might need to update time crate doctests to be wasm-capable.

Closes #68
Closes #66
Closes #41
Closes #76

@DogeDark DogeDark added the enhancement New feature or request label Feb 19, 2025
@DogeDark
Copy link
Contributor Author

Marking as ready for review so CI runs.

@DogeDark DogeDark marked this pull request as ready for review February 28, 2025 01:48
@DogeDark DogeDark marked this pull request as draft February 28, 2025 02:01
@DogeDark DogeDark changed the title SDK Reorganization SDK Reorganization, Async Callbacks, More Docs Mar 4, 2025
@DogeDark DogeDark marked this pull request as ready for review March 6, 2025 03:54
@marc2332 marc2332 self-requested a review March 6, 2025 18:34
Copy link
Collaborator

@marc2332 marc2332 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some thoughts!

@DogeDark DogeDark requested a review from marc2332 April 12, 2025 02:25
@DogeDark DogeDark merged commit a076931 into main Apr 18, 2025
4 checks passed
@DogeDark DogeDark deleted the organization branch April 18, 2025 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants