Ask HN: What do you use for front end?
Hello HN,
A while ago after doing some research, I decided to go with VueJS for the frontend of a project I was working on but it feels very clunky and slow. The page size with all the libraries installed is nearly 8MBs.
I'm considering ditching our SPA all together building a flask app to interact with the backend with 0 javascript to reduce the page size and make it faster. I was wondering if there are any lightweight alternatives to Vue or know any good practices for speeding up the SPAs?
5 comments
[ 3.1 ms ] story [ 25.6 ms ] threadWhat on earth are you including in your pages?
Is your code available somewhere for us to look at?
Some ideas:
* split your application into several smaller ones, one for each "domain", with one bundle for your library code and one bundle for each "domain"
* use CDNs instead of bundling third party libraries
* make sure you import only what you use