Open sefai opened 4 months ago
When used in SSR mode, it is impossible to pass data from page.server or layout.server loaders to the page.
This is the compile time error => 'data' is referenced directly or indirectly in its own type annotation.
This is the runtime error => TypeError: Cannot read properties of undefined (reading 'someDataFromLayout')
When used in SSR mode, it is impossible to pass data from page.server or layout.server loaders to the page.
This is the compile time error => 'data' is referenced directly or indirectly in its own type annotation.
This is the runtime error => TypeError: Cannot read properties of undefined (reading 'someDataFromLayout')