pocketbase / js-sdk

PocketBase JavaScript SDK
https://www.npmjs.com/package/pocketbase
MIT License
2.14k stars 127 forks source link

htmx #252

Closed gedw99 closed 1 year ago

gedw99 commented 1 year ago

HTMX is a very simple way to do SSR. Its would be awesome if this is possible with pocketbase.

https://htmx.org/examples/

to give you an idea of how it works here are some golang example frameworks

https://github.com/topics/htmx?l=go&o=desc&s=updated

Here is a nice simple golang htmx example with zero dependencies and a nice GUI

https://github.com/acorello/Contacts.app

just " go run . " and you its working..

ganigeorgiev commented 1 year ago

There are no plans for now for builtin htmx integration.

When PocketBase is used as framework, users have full access to the underlying router (echo) and they can use whatever rendering and template engine they prefer.

The JS SDK repo is intended only as JS client for the web APIs.

gedw99 commented 1 year ago

Ok thanks for the answer .

If others find this , there are a few GitHub repos already with this integration so that’s partly why I suggested it