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

Replace React with lightweight UI library #24

Open
au2001 opened this issue Dec 3, 2023 · 2 comments
Open

Replace React with lightweight UI library #24

au2001 opened this issue Dec 3, 2023 · 2 comments
Labels
feature request New feature or enhancement of an existing feature

Comments

@au2001
Copy link
Owner

au2001 commented Dec 3, 2023

React: While I assume you chose this library for simplicity and your personal experience and DevEx, it's a rather heavy dependency for some small-ish Frontend interaction. Replacing React with WebComponents + JS (or something like lit or even vue for some better DevEx) would go a long way to reduce the footprint. This is certainly a controversial suggestion; if you are open to it, I'd be interested in taking a stab at this.

Originally posted by @fbender in #16 (comment)

lit and Svelte are both good options in my opinion.

Originally posted by @aurelien-garnier in #16 (comment)

@au2001 au2001 added the feature request New feature or enhancement of an existing feature label Dec 3, 2023
@janvhs
Copy link

janvhs commented Apr 7, 2024

Honestly, I don’t think it’s really necessary, because it’s an extension one installs only once. However, if you want to use a lighter toolkit, replace React with Preact https://preactjs.com . Setup the compatibility layer as needed.

@gagarine
Copy link

React is heavy to parse and execute. I cannot imagine this extension GUI being that complex to need component and all.... and yet. If I have 10 extensions and all use react, it impact the browser performance. It's like running 10 applications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or enhancement of an existing feature
Projects
None yet
Development

No branches or pull requests

3 participants