Skip to content

Conversation

@xsoheilalizadeh
Copy link
Contributor

Summary

Adds documentation for using ReadSignal props with use_server_future when navigating between instances of the same component.

Problem

When navigating between same-component instances (e.g., Product A → Product B), use_server_future with plain props doesn't update content because the closure doesn't detect the prop change.

Solution

Shows the pattern of using ReadSignal props instead of plain props to enable reactivity.

Changes

  • Added new "Client-Side Navigation" section after the streaming section
  • Includes comparison of non-working vs working code
  • Concise explanation of why signals are needed

This addresses a common issue developers face when building fullstack apps with Dioxus router.

Explain how to use ReadSignal props for navigation between same-component instances
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