News for hackers. Stuff that matters.
Re:The great divide by s3nnyy on Wednesday January 23, 2019 @01:08PM (#18980767)
Tech recruiter here. From all software engineering profiles, frontend is indeed the hardest to match because the variety of skills is so big. On the one end you have JQuery people who are stuck in 2002, on the other hand you have people like Dan Abramov.
Re:The great divide by devmunchies on Wednesday January 23, 2019 @02:10PM (#18981540)
and on the other hand you have engineers who stopped caring about the technologies and started prioritizing performance, reliability, resilience, etc.

It took me 5 years to realize that "bleeding edge" != "best practice".

Re:The great divide by jasim on Wednesday January 23, 2019 @02:51PM (#18982035)
Gatsby uses GraphQL and React to generate a static website. I muttered angrily at it everytime some data was not available in the page because I forgot to update the GraphQL query.

It is just a static website for crying out loud.

But once I got around it, it gave me a score of 100 in performance and 80 in SEO just out of the box. Images are resized and inlined if need be; critical CSS is rendered first; the plugins added niceties like default anchor link in Github. And I could use React components to organize everything, which is a much more ergonomic way of doing reusable markup compared to server-side things like Rails partials.

I would've needed to spend weeks if I had to get here from scratch. Gatsby is bleeding edge and it does best practices - including performance better than most other static site generators. I think the web is only moving forward - there is cambrian explosion of new untested and often ill-thought ideas, but the good ones will survive in the long run.

Re:The great divide by GrzegorzWidla on Sunday January 27, 2019 @04:13AM (#19011013)
Gatsby shines when you combine multiple sources - Twitter, Instagram, YouTube feeds along with blog articles as a simplistic example. With GraphQL you have ultimate control over all of it and can organize automate it sensibly without writing custom plugins.
Re:The great divide by devmunchies on Wednesday January 23, 2019 @03:24PM (#18982468)
Hmmm... interesting. We are using something similar (https://nextjs.org/) on our marketing site and our performance is a single digits on lighthouse.
Re:The great divide by timneutkens on Thursday January 24, 2019 @05:03AM (#18987355)
By default Next.js scores 100/100 on performance and best practices eg https://nextjs-3q3i4heaj.now.sh/ (SEO / Accessibility are not 100 as I didn't add meta tags in this example, but are very trivial to add.)

In case of Invision it seems like images / render blocking css that was added outside of Next.js are the main culprit. I've reached out to Jon Wheeler who works on the marketing site to make him aware.

Re:The great divide by tambourine_man on Wednesday January 23, 2019 @10:25PM (#18985715)
I know it’s trandy to disqualify jQuery, but I’ve yet to see a rational argument that justifies it.

Most small to medium sized projects don’t need MVC, build systems, preprocessors, docker, etc. It's just a collective fascination for shinny overly complex things.

Re:The great divide by GrzegorzWidla on Sunday January 27, 2019 @04:15AM (#19011020)
Even if you decide MVC is not needed, it's just as likely you won't need jQuery either. Vanilla JS is pretty powerful and cross browser complaint these days.
Re:The great divide by speedplane on Sunday January 27, 2019 @04:17AM (#19011029)
Jquery is messy on a large scale, but on a small scale it allows you type far less code than pure JS. On small to medium size projects, it's entirely reasonable to remain the best tool.