Skip to content

Removed usage of functions deprecated since 0.7#4471

Open
Nevalicjus wants to merge 3 commits intoleptos-rs:mainfrom
Nevalicjus:main
Open

Removed usage of functions deprecated since 0.7#4471
Nevalicjus wants to merge 3 commits intoleptos-rs:mainfrom
Nevalicjus:main

Conversation

@Nevalicjus
Copy link
Copy Markdown

As per the docs, some functions exposed by leptos::prelude are deprecated to conform to Rust idioms. I've removed their usage in docs, examples, tests, etc., as per the deprecated notes:

  • create_effect -> Effect::new
  • create_memo -> Memo::new
  • create_rw_signal -> RwSignal::new
  • create_signal -> signal
  • create_Action -> Action::new
  • create_node_ref -> NodeRef::new
  • watch -> Effect::watch

@gbj
Copy link
Copy Markdown
Collaborator

gbj commented Jan 2, 2026

Thanks very much!

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.

2 participants