News for hackers. Stuff that matters.
Re:Ask HN: Is it ok to use traditional server-side rendering... by joobus on Monday December 19, 2016 @11:47AM (#13212692)
One thing I haven't understood about JavaScript frameworks is how people go about setting meta tags for Facebook and Twitter sharing. These meta tags aren't readable by the Facebook scraper when set in JavaScript, so at least for my work, even if I do use some JavaScript framework, I also have to do some server side rendering so brands can share what they pay to share.

Maybe some people just don't care about this, and pure JavaScript works for them.

Re:Ask HN: Is it ok to use traditional server-side rendering... by mwpmaybe on Monday December 19, 2016 @05:35PM (#13215639)
You likely have a simple HTML page that bootstraps the SPA; just put your meta tags there! UPDATE: Ah, set in JavaScript. Yes, tricky. Reading is good.
Re:Ask HN: Is it ok to use traditional server-side rendering... by ubersoldat2k7 on Monday December 19, 2016 @12:12PM (#13212949)
There are strategies,for this which usually involve a headless browser rendering the page for the spider. It's as cumbersome as it sounds.