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
893 stars 56 forks source link

Setup automatic DX tests for Hilla #865

Open platosha opened 1 year ago

platosha commented 1 year ago

After introducing React support, we encountered many issues with autocomplete and import suggestions for the components. Many things have effect on the TypeScript IDE behavior for Hilla applications, including:

In order to ensure that the factors above stay in alignment and together provide a good developer experience for the Hilla starters, let us setup automatic IT tests for Hilla starters behavior with TypeScript IDEs.

There are several ways to tackle this:

marcushellberg commented 1 year ago

A note on the above: let's make sure we run tests on Windows+Linux+Mac

marcushellberg commented 1 year ago

In addition to automatic tests, I think it would be good to add a manual test before bigger releases (major and minor), where a developer creates a project using the CLI, then creates a defined application without copy-pasting to catch errors like the ones we've had with auto-complete where copypasted code works, but the DX is broken.