DEV Community

Cover image for Sigh, what AI supported Web Component development will look like
Danny Engelman
Danny Engelman

Posted on • Updated on

Sigh, what AI supported Web Component development will look like

constructor(){
  const template = name => document.getElementById(name).content.cloneNode(true);
  super()
    .attachShadow({mode:"open"})
    .append(
        template("BOARDSTYLE"),
        template("GAMEBOARD")
     );
}
Enter fullscreen mode Exit fullscreen mode

is perfectly valid code!

But because 10 years of Web Component blogs have replicated statements like:

Our AI generated Web Components will be as stupid.

Source: https://chat.openai.com/chat

And its stuborn in its answers:




Top comments (2)

Collapse
 
trusktr profile image
Joe Pea

So what this means is, AI isn't taking our jobs yet! :)

Collapse
 
dannyengelman profile image
Danny Engelman • Edited

Not our jobs (yet)! We are Explorers, Researchers, Adventurers
We think, and act out of the box
But those in the box....