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

Datastar docs outdated #1022

Closed
malofu opened this issue Dec 21, 2024 · 5 comments
Closed

Datastar docs outdated #1022

malofu opened this issue Dec 21, 2024 · 5 comments

Comments

@malofu
Copy link

malofu commented Dec 21, 2024

Templ Datastar docs is outdated.

I'm posting the issue, for someone who can do a PR or to do it myself in the future.

@a-h
Copy link
Owner

a-h commented Dec 24, 2024

How are they outdated? Got any specifics?

@aminerwx
Copy link

I do confirm that DataStar Backend example is obsolete.

current module in above example is:
github.com/delaneyj/datastar

While it should be:
import datastar "github.com/starfederation/datastar/sdk/go"

But this breaks below functions:
datastar.RenderFragmentTempl(...)
datastar.PatchStore(...)

I'm still learning Templ ecosystem, and datastar example seems out of my cup at the moment.

@delaneyj
Copy link
Contributor

delaneyj commented Jan 13, 2025

I'll fix this up asap now that v1 is in beta

@delaneyj
Copy link
Contributor

This should be closed @a-h . Thanks again!

@a-h a-h closed this as completed Jan 21, 2025
@a-h
Copy link
Owner

a-h commented Jan 21, 2025

Thanks everyone!

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

No branches or pull requests

4 participants