I’ve been waiting for this one for a while and it finally looks like it’s here. I’m working on a recent webpack es6 cli project and decided to give SSR a go. It took a little mucking around, slight learning curve, but nothing too hard for someone who has used aurelia for a while.
Here’s the main things that aren’t done that are crticial for SSR to be useful.
You can’t have dynamic opengraph tags with it yet. That needs fixing. Meta tags should be dynamic. The whole template should be dynamic and avoid using comments. Use something like hogan or mustache/handlebars? I saw there was a comment in the config for uglify not to remove comments. How can any serious app that has its links shared not have opengraph implemented properly? That’s not great.
Support for SSR in aurelia cli (I am sure this is on the todo list). It wasn’t trivial to add SSR into an es6 webpack cli project.
Needs a leaner minified bundle. One without source maps and so on. Probably easy to configure, but the config needs cleaning up for this.
All of what I tried was taken from the SSR skeleton.
Overall, smooth upgrade, but needs more work for something that’s a critical feature.