Replies: 1 comment 6 replies
-
Found an interesting way to do it using the htmx approach with gocomponents... https://github.com/Baralga/baralga-app/blob/main/auth/auth_web.go#L402 |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am building a system where there is a message queue underneath with things changing all the time.
For example https://github.com/mprimi/nasefa
The current web at https://github.com/gedw99/nasefa/tree/main/commands/web, i am changing over to using Gcomponents.
So as you can see this "nasefa" thing is a thing tof sending files to others. It assumes each user is running their own server with the Web gui, and NATS distributes the files to these servers based on basic rules.
SO it would be cool if i can force a page update when a new file arrives on the backend.
Whats the options ?
I can extend this later with notifications, and so send the user a notification that they then click on that takes them to the page also. But thats out of scope for now.
Beta Was this translation helpful? Give feedback.
All reactions