You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dumdom.inflate/render fails with error message "Invalid symbol: /test-div.0.".
Setting a name on all the components rendered makes it work, but I assume that it should work for unnamed components as well.
It seems like the auto-generated names like "/test-div.0" fail because of the leading slash. I also observed other cases were the generated name was a uuid, and these failed with the message "invalid number".
The text was updated successfully, but these errors were encountered:
Hi! Sorry about the late answer. (dumdom.string/render (test-div {:text "hello"}))
Returns: "<div data-dumdom-key=\""/test-div.0"\">hello</div>"
Like the title says, not specifying a component name makes inflation fail when doing SSR.
Example:
Simple component:
On server side (as part of html string):
Then on the client side:
dumdom.inflate/render
fails with error message "Invalid symbol: /test-div.0.".Setting a name on all the components rendered makes it work, but I assume that it should work for unnamed components as well.
It seems like the auto-generated names like "/test-div.0" fail because of the leading slash. I also observed other cases were the generated name was a uuid, and these failed with the message "invalid number".
The text was updated successfully, but these errors were encountered: