Closed daffl closed 9 years ago
This may or may not be related to the component not live reloading when adding or removing a <style>
tag.
I think this is a can-ssr bug. Definitely not caused by done-component. I think I ran into something similar so I'll check it out.
I added a commit here https://github.com/canjs/can-ssr/commit/793cc85229725fb08c9c8b87c8789fc9349fe043 that fixes a related issue and might fix this as well.
There's also a bug where using a <style>
tag doesn't result in server side rendering of the css in dev (some times) and this is a done-component bug.
Server side rendering does not work with
.component
files that have a<style>
tag. A component like:Fails with
It does work client-side.