docs icon indicating copy to clipboard operation
docs copied to clipboard

Update Zustand code example

Open dbritto-dev opened this issue 1 year ago • 7 comments

dbritto-dev avatar Sep 22 '24 23:09 dbritto-dev

@dbritto-dev is attempting to deploy a commit to the Stately Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Sep 22 '24 23:09 vercel[bot]

Thanks for the PR! Can you add this as a separate section, since it isn't the primary/idiomatic usage of Zustand?

davidkpiano avatar Sep 23 '24 15:09 davidkpiano

@davidkpiano below? or somewhere else?

dbritto-dev avatar Sep 23 '24 15:09 dbritto-dev

@davidkpiano btw, we want to promote that. Currently, we are working on revamping docs. I added docs for APIs and Hooks for now.

dbritto-dev avatar Sep 24 '24 00:09 dbritto-dev

@davidkpiano ?

dbritto-dev avatar Sep 24 '24 02:09 dbritto-dev

@davidkpiano below? or somewhere else?

Below is fine.

EDIT: Also, I would like this section to reflect what is seen here, as this is where I'm referencing the examples in the documentation: https://zustand.docs.pmnd.rs/getting-started/comparison

davidkpiano avatar Sep 24 '24 10:09 davidkpiano

@davidkpiano sure, let me update it

dbritto-dev avatar Sep 24 '24 13:09 dbritto-dev

@davidkpiano sure, let me update it

Hey @dbritto-dev - I'd like to update the comparison but it seems that the Zustand docs are still pointing to the old way (no inferred types).

davidkpiano avatar Oct 21 '25 15:10 davidkpiano

@davidkpiano sure, let me update it

Hey @dbritto-dev - I'd like to update the comparison but it seems that the Zustand docs are still pointing to the old way (no inferred types).

Yeah, we are doing some housekeeping right now removing outdated links but I'll work on that after cleaning/updating some docs.

BTW, we talk about combine in the docs api section

dbritto-dev avatar Oct 21 '25 15:10 dbritto-dev