Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[📖] The tutorial should prefer useSignal #6371

Open
wmertens opened this issue May 23, 2024 · 2 comments
Open

[📖] The tutorial should prefer useSignal #6371

wmertens opened this issue May 23, 2024 · 2 comments
Labels
COMP: docs Improvements or additions to documentation STATUS-2: docs team is working on this This goes into the backlog of the docs team STATUS-2: team is working on this Scheduled for work by the core team

Comments

@wmertens
Copy link
Member

Suggestion

our tutorial examples should prefer useSignal over useStore

@wmertens wmertens added COMP: docs Improvements or additions to documentation STATUS-1: needs triage New issue which needs to be triaged labels May 23, 2024
@PatrickJS
Copy link
Member

yes 💯

@dejurin
Copy link
Contributor

dejurin commented May 23, 2024

Please more example when use better than useSignal over useStore.

const foo = useSignal();
const bar = useSignal();
// or
const foobar = useStore({foo,bar});

@shairez shairez added P3: important STATUS-2: team is working on this Scheduled for work by the core team and removed STATUS-1: needs triage New issue which needs to be triaged labels May 24, 2024
@gioboa gioboa added the STATUS-2: docs team is working on this This goes into the backlog of the docs team label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
COMP: docs Improvements or additions to documentation STATUS-2: docs team is working on this This goes into the backlog of the docs team STATUS-2: team is working on this Scheduled for work by the core team
Projects
Status: Backlog
Development

No branches or pull requests

6 participants