News for hackers. Stuff that matters.
Re:Paper Airplane Designs by icsllaf on Thursday October 18, 2018 @02:31PM (#18250856)
Why do you think Angular was the wrong choice? This question is coming from a person with little knowledge on most front-end frameworks.
Re:Paper Airplane Designs by offsky on Thursday October 18, 2018 @02:53PM (#18251063)
The main problem I ran into with Angular was SEO. With a single page app, I had a hard time getting google to index the individual airplane pages. This was 5 years ago, before good solutions existed. I cobbled together a solution, but its not perfect. And Google is better about this now anyway. It would have been better to use vanilla JS or jquery to do the simple home-page filtering. But I wanted to learn Angular, so thats what I did.
Re:Paper Airplane Designs by a13n on Thursday October 18, 2018 @03:15PM (#18251259)
Ah yeah you pretty much have to set up server-side rendering to combat SEO difficulties with single page apps. Google says they'll execute your JS to index client-side rendered sites too, but they really don't do it nearly as often/well in my experience.
Re:Paper Airplane Designs by madeuptempacct on Thursday October 18, 2018 @02:34PM (#18250892)
Might be a bit heavy for the use-case. That's all I can think of.