Replies: 1 comment 5 replies
-
I initially posted this in Discord, but I guess this is the better place :). We have started using Svelte as frontend framework. It is very lightweight and has a not so high learning curve (compared to react). It works pretty intuitively and is set up easily. |
Beta Was this translation helpful? Give feedback.
5 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
I've been thinking about rewriting the UI's code for quite some time now, but wasn't really able to do anything due to a lack of time that I could allow to my personal projects.
I now have more time and experience with reactive frameworks such as React, AlpineJS, and front-end frameworks, for instance TailwindCSS. This project was started with poor knowledge of PHP and basically no knowledge of JS whatsoever. I just hacked things together and kept maintaining this (admittedly) hot mess like this.
As you might have guessed, those are my favorite frameworks and I've been reducing my development time on other projects with them. Though, NPfS being more of a lightweight project, I'm concerned about the performance and compatibility issues that they could bring.
I like the idea of NPfS being used as a responsive as-light-as-possible simple visualizer, without any performance overhead. TailwindCSS wouldn't be much of a hassle since it's basically straight up CSS with HTML classes, but some people might disagree with this opinion - that's why I'm making this post. TailwindCSS sounds like a great fit for the project, at least according to me.
About the Reactive framework stuff, even though they might bring some performance overhead and compatibility issues, I would have to test this in the real world with base projects to compare that. I like the simplicity of Alpine, and would guess it's lighter than React, but it's not as known and loved. Going React for this project feels like filling a glass of water with a shower head, but I might be wrong.
Those are my two options. I don't think I'm going to use anything else since I don't have as much experience with other frameworks as I have with those two - but any suggestions are welcome nonetheless.
TL;DR
Should I rewrite the project with Reactive frameworks and TailwindCSS?
Feel free to post your opinion and debate about this - any opinion is welcome, I would love to hear about it and try to please everyone as much as I can :)
Beta Was this translation helpful? Give feedback.
All reactions