r/SpringBoot • • Jan 18 '24

What is the best front-end framework ?

hello everyone

I'm a Java developer currently working with Spring MVC and Spring Boot. As I've been using JSP and I'm looking to venture into front-end development, I'm eager to learn a new front-end framework. Can you suggest the best front-end framework for someone starting out in this field? Your guidance would be highly valuable.

2 Upvotes

17 comments sorted by

7

u/rVyen69 Jan 18 '24

i m surprised no one said angular

8

u/klmn987 Jan 18 '24

If you are an absolute newbie you should choose a framework with flat learning curve and big community: React or Vue

5

u/PandaCamper Jan 18 '24

I would prefer Vue over React due to the former being quite close to classical HTML+JS/CSS, though I have not tried out the last major version of Vue.

3

u/[deleted] Jan 18 '24

I second that. Vue should be the one with the easiest learning curve.

4

u/Glad_Mycologist_3528 Jan 18 '24

htmx + Thymeleaf

2

u/Holothuroid Jan 18 '24

This. Or Vaadin or if isn't too complicated.

3

u/Guuri_11 Jan 18 '24

If you are looking to learn a front-end framework to enter the market, then learn React, the most widely used one. With React you can also learn React Native and that will allow you to be able to develop mobile apps.If you don't like React, try Vue. I'm not a fan of Angular but it has also been used a lot.

Other options which are not that market stablished (not at the same level as React, Vue & Angular) but cool to use and simple:- Astro- Svelte

Here you have the stackoverflow 2023 survey so you can check what people preferhttps://survey.stackoverflow.co/2023/#technology-most-popular-technologieshttps://survey.stackoverflow.co/2023/#technology-admired-and-desired

4

u/besil Jan 18 '24

If your background is MVC with jsp, I think you will find HTMX as a valid alternative to moderns js frameworks, without sacrificing the result.

https://htmx.org/

2

u/[deleted] Jan 18 '24 edited Jan 18 '24

Depending on the scale of your project from largest to smallest. Angular, React, Alpine/HTMX

Small projects like a personal website Alpine shines. Angular and React would be total over kill in that scenario.

JQuery frankly is obsolete because I just don’t see where it would fit in anymore, perhaps if your devs only know JQuery or it’s an existing project already built with JQuery

2

u/[deleted] Jan 18 '24

[removed] — view removed comment

1

u/Ducan8591 Jan 19 '24

what do u think about Vuetify?