News for hackers. Stuff that matters.
Re:How to manage HTML DOM with vanilla JavaScript only? by ng12 on Thursday April 02, 2020 @02:03PM (#22761764)
> It's great job security for UI experts, but expensive for organizations because they need stack specialists whereby before a one-man-band (or 2) could make useful apps for less than half the cost and time without having to spend years with UI-Yoda to master some screwy layout engine.

My company has a very, very small number of UI experts who are tasked with making sure non-UI folks can build front-ends. It's been a rousing success. We own some documentation and a few tools to make starting projects easy. We teach an hour long workshop that covers everything (React, the npm ecosystem, TypeScript, best practices, etc) and then we let them have at it. It's been a rousing success and nobody has seriously suggested moving back to jQuery or any of the WISYWIG tools.

Sure there is a cost -- you need to hire at least one person with enough knowledge to cut through the bullshit and build the right tech stack. But once you've paid that cost once the payoff is massive.

Re:How to manage HTML DOM with vanilla JavaScript only? by ranit on Thursday April 02, 2020 @02:19PM (#22761934)
>> very small number of UI experts who are tasked with making sure non-UI folks can build front-ends

This looks an excellent approach.

>> you need to hire at least one person with enough knowledge to cut through the bullshit and build the right tech stack.

How do you ensure that this person will "build the right tech stack"? There are myriad of possibilities to go astray.

Re:How to manage HTML DOM with vanilla JavaScript only? by ng12 on Thursday April 02, 2020 @04:12PM (#22763189)
Sure, but that's a problem for everything. You'll struggle to build a modern cloud architecture without at least a few people with extensive experience with the cloud.

You can get pretty good mileage following industry best practice -- pick React, pick TypeScript, and pick the most popular tools for each.

Re:How to manage HTML DOM with vanilla JavaScript only? by nsomaru on Thursday April 02, 2020 @02:36PM (#22762124)
How does this work? Has your company shared or consulted any resources regarding this?
Re:How to manage HTML DOM with vanilla JavaScript only? by ng12 on Thursday April 02, 2020 @04:13PM (#22763199)
Some but mostly we relied on my expertise and a few others who've been thinking hard about these problems for a long time. We've been thinking about sharing some of our insights but haven't yet.