HACKER Q&A
📣 noduerme

Would you downvote a data app for having custom/vanillaJS UI?


So let's say someone (me) has been iterating a data tool for a few years and wants to make a reasonably nice UI for it, and then open-source the whole thing. And let's say person (me) doesn't want to deal with React or any other libraries, but does have a bunch of portable UI code from other projects that happens to work fine for drawing UI components to display these big data models.

Is it gauche to include your own UI components in data projects these days? I'm talking about things like dialog boxes and waiters, progress loaders, simple component handlers and things like that. The goal here is to not have dependencies, but to also have a usable client-side app for people without coding skills. Is it frowned upon to just include a custom framework?


  👤 8lall0 Accepted Answer ✓
I see only one reason to use custom JS UI stuff in a project: if it's an internal tool and you and your colleagues (and all your tech department) use those components when programming.

Otherwise i would use a framework, it's much reliable. If you don't want to deal with the React/Angular complexity, try Svelte, it has the best dev experience if you come from vanilla JS development.


👤 uhfraid
Use (and reuse) the code you know over the code you don’t

👤 6510
If you have the time/skill to do a quality custom job go for it.