jacobobryant / biff-electric

Example of integrating Electric with Biff
19 stars 1 forks source link

electric-hiccup #1

Open milelo opened 2 weeks ago

milelo commented 2 weeks ago

I've created a library electric-hiccup to provide hiccup-like syntax for electric. I've forked this projects into https://github.com/milelo/biff-electric-hiccup and modified it to use the library as an example - thanks!. You may want to consider updating biff-electric to use it.

I'm not sure if you are following electric. V3 is in the works and is expected to be made publicly available in a couple of weeks. It would be good if this project supported it.

jacobobryant commented 2 weeks ago

Looks nice! I haven't been following Electric super closely--I was aware V3 is coming but couldn't tell you what the updates will be. I likely won't get around to doing more Electric stuff for quite a while since I'm mainly focused on htmx. Would you want to make a Biff + Electric V3 example/how-to when it's released? i.e. something to replace this repo and the accompanying howto. If so I'd be happy to put that in the content library in place of this.

milelo commented 1 week ago

I'll work towards this when I can. No promises. Its all a steep learning curve for me so slow progress and you set a high standard :). Looks like it needs to be brought in-line with the main biff repo.

jacobobryant commented 1 week ago

Looks like it needs to be brought in-line with the main biff repo

no need for that--E.g. this repo is separate from the main repo. you can create a new biff app, create a new repo from it, update it to use electric, and write a howto documenting the process (or even just say "look at the commits"). if there are any updates that are hard to do without modifying the main biff repo, I can fix that by making biff more configurable.