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

Open
malofu opened this issue Dec 21, 2024 · 2 comments
Open

Datastar docs outdated #1022

malofu opened this issue Dec 21, 2024 · 2 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.

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

3 participants