vaadin / hilla

Build better business applications, faster. No more juggling REST endpoints or deciphering GraphQL queries. Hilla seamlessly connects Spring Boot and React to accelerate application development.
https://hilla.dev
Apache License 2.0
879 stars 57 forks source link

An easy way to build shareable custom components #1292

Open tarekoraby opened 10 months ago

tarekoraby commented 10 months ago

For many use cases, it is necessary to extend the default Hilla React components to create your own custom components and then share those custom components across several apps. However, currently, there is no (easy?) way to achieve this.

Hilla should provide a simple approach (perhaps a project template) + the necessary documentation to make it possible for teams to create shareable custom components on top of Hilla React components.

platosha commented 10 months ago

I have done some prototyping for a custom component library based on Hilla React components here: https://github.com/platosha/lunch-components