PWA in Hilla with React...

Could you please help me to do PWA in react.There is PWA creaction only in hilla with lit.I dont understand how to convert that in to react.

There is nothing react specific about the PWA setup, add the @PWA annotation on your spring boot application class, and it should work

But sir how to set caching content for offline use? and how disabling functionality while offline?