fuck you
Fuck you
OP got filtered
...
I don't like it. I prefer to render templates with plain js. Sometimes throw in jquery just for the DOM utilities.
Just hook up some event listeners and re-render a block of HTML on the necessary events, easy peasy.
React is overengineered shit. Too complex for what it is. Svelte is a preferable solution, not because of the transpile stuff, but because it is simple and does its job. Vue is another good alternative.
>have to work on a react project
>yarn install
>95862 packages downloaded
It doesn’t fix the underlying problem that we don’t have access to the lowest level of abstraction that we need in the browser. There should be a less-hacky syntax for creating HTML elements (and certainly one without a weird runtime). WPF/XAML really was the future we didn’t know we needed.
Based. Come home.
>Come home, yellow man
>React is too complex
typing must be hard for you
If you use template tags and jquery or any of the other million DOM utilities to manipulate document fragments it's mostly tolerable, and good performance since it doesn't redraw until the fragment is actually inserted.
It's not react itself that's complex but the tooling required to make "modern js".
I want to just throw in a script tag and use it, no build process, no fighting with npm, babel, gulp, sass, postcss, webpack, and whatever else is popular these days.
I know you technically can but nobody does and being on a team means you're stuck with their "best practices" that usually involve wasting many hours with these stupid compilers and transpilers that change constantly and break with every update.
You're one dumb fuck, aren't you? Complex in the sense of over engineered bloat. Never said it is hard to learn or use.
It's not hard in itself, it's just shit. Maybe frontards think they're hot shit because they can put a couple of pieces of jsx together, I don't know nor care.
Who the fuck cares how it is engineered? Do you work in the React team? Does it have bad performance?
The API is easy as balls
Things like create-react-app streamlines the whole process. It is so easy that make me want to cry.
It works
>responsible for the worst programming practices in technology in history
Webshitters should be killed on sight. I hope the whole web goes to shit one day or we suffer a huge scale supply chain with NPM that leave everyone jobless.
t.webdev
This with Typescript is what saved the web and made webdev tolerable again
KYS brainlet pajeet, stick to your graphic design jobs
JQuery doesn't provide an improvement to React in terms of performance. It's the opposite. Especially when you're trying to use it as a replacement of React (for SPAs).
I think the best solution is Next.js. You get to build hybrid webapps (MPAs and SPAs) with SSR and SSG to tackle all the needs a offer a better SEO and performance.
You think create-react-app is the end of the whole process? You think in a project you run create-react-app every 5 minutes for your shitty hello world page and then do it again, and that's how development is done? You fucking troglodyte shut the fuck up. All that is required from you is to not talk out of your fucking ass and you can't do even that.
>Sometimes throw in jquery
bloat as fuck bro.
>filtered by this.setState && useEffect
web pages should not have scripts
>you run create-react-app every 5 minutes
You clearly no have fucking idea what you are talking about. create-react-app builds you a bootstrapped project. You only run it ONCE, and never again. You leave the test server open, and it just werks. Bad trolling, or pure ignorance?
At least be fully functionnal without scripts. At my job it is a requirement for frontend devs. Our websites can work with javascript disabled, and it is fully usable.