The Great Unlearning Doc #493
Replies: 11 comments 1 reply
-
It's covered a bit in #9 but should definitely talk more about embracing the browser features...
|
Beta Was this translation helpful? Give feedback.
-
This isn't an unlearning, per se, but its something worth keeping an eye on. From the dev of Lit, and collaborators who are working on the Signals Proposal and other related stuff [templates] A declarative JavaScript templating API Delaney's comment on it: "if we had a declarative API in the browser then D* would be about 1KiB and then plugins" The whole thread is a fascinating read |
Beta Was this translation helpful? Give feedback.
-
Im going to put this here, because the whole blog (from a veteran of the Web - development, browser engineering, standards etc...) is dedicated to Unlearning people - particularly about SPAs, and especially React. There's 4 different series, each with many exceptional posts. Required reading for anyone interested in web dev |
Beta Was this translation helpful? Give feedback.
-
You can make your own bundle with this file: https://github.com/starfederation/datastar/blob/develop/library/src/bundles/datastar.ts Just select what you want to import. and before the DS.load, you can change properties. e.g. if you want to rename a plugin, you can just set Can just use existing plugins as a template for creating your own. Then import to the bundle script above and build |
Beta Was this translation helpful? Give feedback.
-
This reads very much like your personal (un)learning journey, which makes for a great read (my own was very different)! Would you consider turning it into an article? A lot of what you noted is already spread throughout the docs, some of it feels like it doesn't belong in the docs, and we could really use some community contributed articles about Datastar. We can, of course, link to it from the official docs. |
Beta Was this translation helpful? Give feedback.
-
Yeah, not all of it is doc-worthy. As noted, was just dumping thoughts here and hoping others would do the same so they could be curated into something useful. Perhaps you and others could share your unlearning experiences, as well as any insights, gotchas etc that you had/think others might have? I'd be happy to them curate it into stuff appropriate for a doc, and stuff better left as articles. As for me writing an article, I don't publish anything anywhere. Is there somewhere d* would want to publish it? |
Beta Was this translation helpful? Give feedback.
-
That’s a shame, you write well. I’m not sure what to do with your notes besides refer back to them next time I’m adding to the docs. I have some higher priority things on my list such as documenting the SDKs, reviewing all examples, etc., but some of these points will be good to have as reminders, thanks! |
Beta Was this translation helpful? Give feedback.
-
Again, this issue was meant as a place for other people to share their own struggles/discoveries so that something useful could be curated from it. Closing it now and putting the focus solely on my struggles defeats that purpose. And, to clarify, I'm happy to help with that curation and doc writing. I was just saying that I don't have or want any online writing presence of my own. If you'd like help with proof reading all of the docs/examples, and also feedback on it all from the perspective of a relative newcomer, I'd be happy to do so. As I've said in various places, I think the docs tend to assume more knowledge than many people actually have. But it wouldn't take much to fix that. |
Beta Was this translation helpful? Give feedback.
-
Understood. We use GitHub issues as actionable items that can be completed, rather than long-term storage of ideas. What you're describing might be better as a GitHub discussion or a shared document. Help with docs is always welcome! |
Beta Was this translation helpful? Give feedback.
-
Sorry, understood! Perhaps you could convert this to a discussion. Apparently there should be an interface like this somewhere in this page? |
Beta Was this translation helpful? Give feedback.
-
There’s been no activity here for 2 weeks, so I’m marking as closed. I’ll be referencing this when writing docs in future, so it nevertheless is valuable to have! |
Beta Was this translation helpful? Give feedback.
-
Someone proposed the creation of a "The Big Unlearning" guide in discord. I and others have also floated such a thing various times. I'm not the one to write it, but figured that we can start to dump/brainstorm ideas here for inclusion in such a doc.
Here's some things that I had to wrap my head around/learn
mergeMode
.data: selector #foo
if the fragment contains an ID (as it should) - idiomorph will just find it and deal with it.hx-swap
,hx-target
etc...). Just send the fragment with the ID and/ordata: selector
and it will work.hx-boost
And some "collected wisdom" from discord:
10 commandments (and some of my own additions/elaborations)
Beta Was this translation helpful? Give feedback.
All reactions