Hell, I already sat down three times and tried to figure out what this React thing is. Couldn‘t make it. Using Svelte now and being happy.
Bah, 2 whole days? I learned React in 1 day!.. then another, and another, and then I got a book, and a few years later… I learned how to fix whatever ChatGPT spits out in React in 2 days!
This person also lectured me on using AI to write code. Saying it was better than a human (in 2023), and that it made him senior level. They practically mocked me when I told them ChatGPT was pretty bad at coding.
import React from 'react';
import ReactDOM from 'react-dom';
ReactDOM.render(
<div>
<h1>My Site</h1>
<p>Welcome to my cool site. 😎</p>
</div>,
document.getElementById('root')
);
Me too. I’ll take my salary now, please.
Edit: Lemmy stripped out my rickroll. :(
This is probably someone that also didn’t learn JavaScript properly