Inferno: attributes duplication on every renderToString

Created on 30 Jul 2016  路  5Comments  路  Source: infernojs/inferno

Hey,
Thank you so much for this amazing library.
I'm doing server side rendering and attributes are duplicated with each request.
Example on jsfiddle

bug

Most helpful comment

https://github.com/trueadm/inferno/releases/tag/0.7.25 this issue should now be fixed. Let me know if it is now and you can re-open this issue but internal tests show it working now :) thanks for the help

All 5 comments

@AlexChepura thanks for bringing this issue to light. I'll look into sometime today and get a fix in place!

I have seen this issue too, actually there are tests already for this (currently ignored). I tried fixing this once, but was not successful at that time. The issue is that it seems like removeAttribute() does nothing.

Same here, can't do SSR without this.

@Xerios I'm looking into this one tonight.

https://github.com/trueadm/inferno/releases/tag/0.7.25 this issue should now be fixed. Let me know if it is now and you can re-open this issue but internal tests show it working now :) thanks for the help

Was this page helpful?
0 / 5 - 0 ratings