Problem when using 'TSX' rendering template
See original GitHub issueEnvironment
- Operating System: MacOS
- Node Version: v16.13.0
- Nuxt Version: 3.0.0-rc.8-27677607.a3a8706
- Package Manager: pnpm@7.5.2
- Builder: vite
- User Config: vite
- Runtime Modules: -
- Build Modules: -
Reproduction
https://stackblitz.com/edit/github-jjxw1t?file=pages%2Fsub%2F[id].vue,pages%2Findex.vue
Describe the bug
If you are using ‘TSX’ rendering and do not add it, an error will be reported
definePageMeta({
// keepalive: true
})
Uncaught DOMException: Failed to execute ‘insertBefore’ on ‘Node’: The node before which the new node is to be inserted is not a child of this node.
Additional context
definePageMeta({ // keepalive: true })
Logs
Uncaught DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
Issue Analytics
- State:
- Created a year ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Error rendering react component using Typescript and WebPack
It just renders a Hello page, but i am getting an Error in my console. I am using typescript as my compiler. I...
Read more >Error rendering template #136 - frhagn/Typewriter - GitHub
16:05:20.465 ERROR: Error rendering template. Cannot get identifier 'Classes'. Source path: D:\Path\CustomerModel.cs System.
Read more >Documentation - JSX - TypeScript
TypeScript supports embedding, type checking, and compiling JSX directly to JavaScript. Basic usage. In order to use JSX you must do two things....
Read more >JSX/TSX - Custom content render | RevoGrid
JSX/TSX - Custom content render. It is called JSX, and it is a syntax extension to JavaScript. We strongly recommend to use it...
Read more >Conditional Rendering - React
This example renders a different greeting depending on the value of isLoggedIn prop. Element Variables. You can use variables to store elements. This...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s mainly that this question has puzzled me for a long time. I haven’t found the relevant answer. Thank you
I still don’t understand one point. Why is it feasible to set
keepalive: true