When using React components, you need something extra to make it work in DEV mode. Laravel also has a directive called @vitereactrefresh for this purpose. According to https://docs.adonisjs.com/guides/references/edge#vitereactrefresh, this is the code is generates:
When using React components, you need something extra to make it work in DEV mode. Laravel also has a directive called
@vitereactrefresh
for this purpose. According to https://docs.adonisjs.com/guides/references/edge#vitereactrefresh, this is the code is generates: