Does anyone have best practices for developing Hilla-based applications with Claude Code?
I saw an MCP server in the forum already for up to date docs.
One issue I am running into is Claude not seeing when it produces typescript errors in .tsx files. These will show in the browser and I manually copy them over. Is there a way to get these errors somehow in the terminal available for claude code directly?
I would configure it to use the Vaadin docs MCP, which should help it to utilize e.g. Vaadin components in better way. I would also create CLAUDE.md file and there instruct Claude to use Vaadin components when possible, and especially the field components. This is necessary for the Binder logic to work. There are lot of opinion based things related to this question. You could instruct in CLAUDE.md to prefer useSignal over useState etc. Also you could define guidelines regarding testing. It is rather peculiar if it produces syntax errors with .tsx files as React should be one of the better understood libraries by AI. I have not been using Claude Code myself, I use GitHub Copilot currently.