Rendering a component after a hydration mismatch throws an error #12253
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
scope: ssr
Vue version
3.5.12
Link to minimal reproduction
https://play.vuejs.org/#__PROD____SSR__eNp9Uk1PwzAM/SsmF4a0teLrAt3EhzjAARBwjIRCl5ZAmlSJWyZN++846Vom2DjV8Xu2n1+9ZJd1nbSNZGcs87lTNYKX2NQzblRVW4ewBGuepWule3SykJi/j4ECWEHhbAX7VLx/zs3Av7ZV/eIauYaTtE+EMR0zt8YjFFqUMA29RkjwATe/B41GBzCdRWLSCk09p1AI7QM3Szu5JJQeKKtaC5RAT4BsrlqYCxQTobX9mlTKV4L6RZDgtwbRGrjItco/p5ytleyFL2cztGWpZZZ2tDgglg2btRNVrMs4g7SbmdJQirK010IPNmboadtClcmHt4ZcXgYyZzn1Ulq6hxoVucHZGUQkYFH0XcwFY8Z9Pn+X+eeW/IdfhBxn5JsPBnI2YChcKbGDb57v5YLiAazsvNHE/gd8kt7qJmjsaFeNmZPsDV5Uexv/vTLli79ZoDS+XyoIDcxV5HNGNxBs3LX6j9zj5CTWcbMiFzdv6M+pbj+F4RIo6FXs+kmvdHRBMrU+Tk6TwyO2+gZYsAo1
Steps to reproduce
What is expected?
No errors should appear.
What is actually happening?
TypeError: t is null
System Info
Any additional comments?
Does not throw an error if conditioned with an
if-else
clause. See the second reproduction:https://play.vuejs.org/#__PROD____SSR__eNqdU01v2zAM/SusLk2B2MbW7dI5wT7QAdthG9YeBRSqLbtqZcmQZDdAkP9eUo5dp1+HnmzxPVKPj9SWfWvbtO8kO2O5L5xqA3gZunbNjWpa6wJswZoL6Xrp/jlZyVDcwA4qZxs4xrzjLzMi4ksobNN2QZYHrIn0A9GfQnu5B9NsipCMWTmKX7rukEiBkcdNYY0PUGlRw4ouXwSET7h5KnixOIHVOhLTXmisuYKKrkRung1tY8N4CLJptQgS8AiQl6qHUgSRCK3tfdIo3wisF0GEr7sQrIGvhVbF3YqzvZIj+nK2DrautcyzgTYmPTrQJ6rCrD0dsjkjdt4nkngTcJQkB2hMn7IhSQbVGcrGvzwbu8EDW7Lg0a9K1emttwbnvSUyZzQvpaX72waFfnJ2BhEhLLb9O8bI2uUYL25kcfdC/NZvKMYZOu9pBJxNWBCulmGAzy/+yA3+T2Bjy04j+w3wv/RWd6RxoH3vTImyZ7yo9lfcHmXqS3++CdL4sSkSSsxd5HOGW0RWvtb6o9zT9FPM42aHLh6s67NX8/I2Tcu0H2TcvbdGNV/1d9wxtvpa+St8G+QLlj5NP6cfPrLdA3/VWQs=
The text was updated successfully, but these errors were encountered: