Skip to content

Conversation

@brittonr
Copy link

  • Replace deprecated dioxus-lib with dioxus crate and explicit sub-crates
    • Add explicit import for ReactiveContext (removed from prelude in 0.7)
    • Remove usage of deprecated signal_write_in_component_body::allow wrapper
      • The warnings API was refactored in 0.7 and this wrapper no longer exists
    • Add explicit lifetime annotations ('_) to ReadableRef return types
      • Fixes Rust 2024 edition lint about mismatched lifetime syntaxes
      • Makes borrowing semantics more transparent without changing behavior
    • Remove circular/unused warnings module re-export
    • Fix event handler return types in examples (must return () in 0.7)
    • Update Cargo packages

- Replace deprecated `dioxus-lib` with `dioxus` crate and explicit
sub-crates
  - Add explicit import for `ReactiveContext` (removed from prelude in
0.7)
  - Remove usage of deprecated `signal_write_in_component_body::allow`
wrapper
    - The warnings API was refactored in 0.7 and this wrapper no longer
exists
  - Add explicit lifetime annotations (`'_`) to `ReadableRef` return
types
    - Fixes Rust 2024 edition lint about mismatched lifetime syntaxes
    - Makes borrowing semantics more transparent without changing
behavior
  - Remove circular/unused warnings module re-export
  - Fix event handler return types in examples (must return `()` in 0.7)
  - Update Cargo packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant