Flow and PWA - What is the best practice?

Hi *,

I start with my goal: I want to write a app where the backend use Vaadin Flow and the frontend is as PWA.

At the moment I don’t see a best practice for this problem.

Ok, I could add just some REST endpoints and use JSON as exchange format.

Is this the way how the people from vaadin want us to write a PWA or is there some better solution?

Has someone already written a PWA that talks to a vaadin flow backend? If yes, how do you do it?

Thanks for any help and suggestions,
Lars