Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend refactor #625

Open
sosedoff opened this issue Dec 20, 2022 · 7 comments
Open

Frontend refactor #625

sosedoff opened this issue Dec 20, 2022 · 7 comments

Comments

@sosedoff
Copy link
Owner

Frontend code is seriously dated and needs a fresh rewrite, using some minimalistic js framework.

A few things to consider:

  • No react
  • No unstable frameworks
  • No bloatware
@gedw99
Copy link

gedw99 commented Jan 17, 2023

consider the htmx approach

https://htmx.org/

https://github.com/topics/htmx?l=go

@Davincible
Copy link

Davincible commented Feb 23, 2023

I like Lit HTML elements (native web components) with pure TS; https://lit.dev/

Both Adobe and IBM have their component libraries available as Lit HTML elements, I think that would look cool

Nice video on the topic; https://www.youtube.com/watch?v=x9YDQUJx2uw

@nelsonic
Copy link

nelsonic commented Aug 7, 2023

Upvote for htmx and ideally have navigation + title too. so the URL changes from http://localhost:8081/# to reflect the table that is being viewed. This would help with bookmarking and when multiple tabs.

@carlqt
Copy link

carlqt commented Feb 22, 2024

Is this still up for debate? Svelte looks great. The library is just 1.7kb total size

@sosedoff
Copy link
Owner Author

This issue is still relevant, although i would not call this "up for debate". Svelte looks promising, but i have not done any frontend work in a while so not sure if it'll be a right choice. But to be fair, at this point any framework is going to be a better choice than the current stack (html+jquery).

@azan-n
Copy link

azan-n commented May 27, 2024

I'll be happy to help with this, I use pgweb every day. In my opinion, the amount of readily available, accessible, batteries-included, headless (unthemed so you can make them your own) components available in React makes it a viable option to build complete UIs, fast (IF, there is minimal state to handle).

@sosedoff
Copy link
Owner Author

@azan-n I specifically do not want react in this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants