HackerTrans
TopNewTrendsCommentsPastAskShowJobs

flaviocopes

no profile record

Submissions

Show HN: The Valley of Code

thevalleyofcode.com
9 points·by flaviocopes·3 years ago·2 comments

comments

flaviocopes
·2 years ago·discuss
Dropped it a couple days ago to revisit it as a blog post, good timing I guess. Restored https://ahastack.dev/
flaviocopes
·3 years ago·discuss
htmx = client-server networking Alpine = JS sprinkles

Alpine is for example, I want to show/hide a menu on mobile. I want to upload files via drag and drop. I want to have a bin icon over an image when I hover with mouse to delete it. I want to double click an input field to edit it. I want to close an overlay when I click outside of it, or when I press “esc”.

Also modals, although you can do them in htmx very nicely too, so that’s borderline.

Anything that involves network, htmx. Things that are just frontend, Alpine suits better.

_hyperscript is basically the Alpine equivalent.

It's like the difference between Turbo and Stimulus in the Rails world
flaviocopes
·3 years ago·discuss
Check out

API Rules https://pocketbase.io/docs/api-rules-and-filters/#api-rules

Hooks https://pocketbase.io/docs/js-overview/

Admin panel has backups for data, and import/export of collections schema
flaviocopes
·3 years ago·discuss
Been enjoying using PocketBase with Astro + htmx + Alpine