Live data from Hacker News

Show HN: Spot – Simple, cross-platform, reactive desktop GUI toolkit for Go

github.com

51–60 of 63 posts

Re: Show HN: Spot – Simple, cross-platform, reactive desktop GUI toolkit for Go

#53
Looks great! Thanks for sharing.

Would you consider listing the supported platforms in the readme? I think that would be a pretty interesting piece of information:

  - Windows
  - Linux
  - macOS
  - *BSD
  - Android
  - iOS
  - Web
  - Tizen
Maybe like it's on flutter docs: https://docs.flutter.dev/reference/supported-platforms

Re: Show HN: Spot – Simple, cross-platform, reactive desktop GUI toolkit for Go

#55
Main problem is that when you release on desktop, a web version is usually desirable (except for very niche apps that interact a lot with the OS).

Alternatively, something that targets many platforms, including mobile.

I've been searching for something for quite a while and the closest is qt and react native, both painful choices for various reasons

Re: Show HN: Spot – Simple, cross-platform, reactive desktop GUI toolkit for Go

#57
post #22

Earlier quoted context omitted.

I had the same problem - really liked the way I used to do component composition in React, it was hard to go back. Eventually found a way to do something similar using just the standard Go html/template. I’ve written about the implementation here: https://www.sheshbabu.com/posts/react-like-composition-using...

This a great write-up and similar to an approach that I stumbled upon a few years ago. Have you thought about HTMXing this approach to get away from full page renders?

[deleted]

Re: Show HN: Spot – Simple, cross-platform, reactive desktop GUI toolkit for Go

#59
post #22

Earlier quoted context omitted.

I had the same problem - really liked the way I used to do component composition in React, it was hard to go back. Eventually found a way to do something similar using just the standard Go html/template. I’ve written about the implementation here: https://www.sheshbabu.com/posts/react-like-composition-using...

This a great write-up and similar to an approach that I stumbled upon a few years ago. Have you thought about HTMXing this approach to get away from full page renders?

Thanks! I wanted to use standard Go html/template to see just how bad the re-renders are, and then decide to use htmx. After building the project, I don’t mind the re-renders much as the latency is around 50ms and I don’t see any jank. I might introduce htmx in future

Re: Show HN: Spot – Simple, cross-platform, reactive desktop GUI toolkit for Go

#60

Earlier quoted context omitted.

My desktop has no battery.

Good for you. My laptop does.

Yes, if you need a laptop for work and can't live without one, there is no other way but to live with the downsides of high costs, small screen and a battery.

Lucky me I no longer have to use a laptop for work and have a desktop without all the downsides.

Post reply on HN