Closed vinnygambiny closed 2 months ago
@inertiajs/react
@symfony/webpack-encore
When I call usePage().props I got an error module is not defined
usePage().props
module is not defined
Simply call usePage() in a component.
I have found !
I need "module": "es2015", in the tsconfig.json
"module": "es2015",
It's work
Version:
@inertiajs/react
version: 1.2.0@symfony/webpack-encore
version: 4.6.1Describe the problem:
When I call
usePage().props
I got an errormodule is not defined
Steps to reproduce:
Simply call usePage() in a component.