housseindjirdeh / angular2-hn

:boom: Progressive Hacker News client built with Angular
https://angular2-hn.firebaseapp.com
MIT License
1.3k stars 233 forks source link

Server side rendering #26

Open housseindjirdeh opened 7 years ago

housseindjirdeh commented 7 years ago

Would be interesting to see if we can get some parts of the app (if not all) working without any JS on the browser using Angular Universal. Never used Universal before so would love suggestions/tips.

housseindjirdeh commented 7 years ago

Now that platform-server is part of 4.0.0, now's a great time as ever to take a crack at this :)

Will hopefully get to it this week.

MarkPieszak commented 7 years ago

Take a look here where we're working on a starter for it. @housseindjirdeh https://github.com/FrozenPandaz/ng-universal-demo

We'll be updating the official angular/universal-starter closer to the 4.0 release.

There are still some minor tweaks that we need to get in.

housseindjirdeh commented 7 years ago

Appreciate it! That will definitely come in handy :)

paulogr commented 7 years ago

Is ssr still relevant for this app? If so I can help with a PR because I'm just working on this right now in a project. Thanks!

housseindjirdeh commented 7 years ago

@paulogr yes this is still relevant! Thank you so much, I would definitely appreciate a PR to get this added. Will you be using a specific library to add this?

Please let me know if I can help in anyway as well! Thanks again mate 🙌🏾