Thymeleaf ViewComponent with Java and Maven

I will show you how you can use Thymeleaf ViewComponents with Java and Maven
Read more →

Thymeleaf ViewComponent - A new approach to building SSR web applications with Spring Boot

While developing my side project over the last year with thymeleaf I noticed that the templates you serve with the Controller get quite large. You can split them up by using Thymeleaf fragments. But when you nest multiple fragments and use variable expression it is going to get hard to test and quite fragile. That’s why the Idea of ViewComponents came along. There is a similar Library already available for Ruby on Rails which are inspired by react.
Read more →