-
Couldn't load subscription status.
- Fork 13
Description
The Problem
According to #29, the recommended way to add <br />s to a content node is to use custom node-renderers as demonstrated /src/index.test.js.
However when using those node-renderers, Vue warns of an infinite update loop:
You may have an infinite update loop in a component render function.
When tested in a Nuxt app, I see the same warning when the dev server is running. When statically generating a page that uses this render function, the app gets stuck in a loop during hydration, and the page fails to load.
Minimal Reproduction
I created a Code Sandbox based on /src/index.test.js - notice the warning:
Discussion
It seems like something here needs to change, but I'm not sure what. I'll keep experimenting, but would appreciate any and all help with this. Please feel free to fork the Code Sandbox to experiment.
