Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Uhm, it doesn't say anything about installing jest, does it? Only jest-dom.
(Wait, it reminds me of React soup...) -
"To get invites to speak at conferences."
And now you are starting to understand.
The "conference->celebrity clout->self advertising->big five hiring" grift is real. -
@vintprox react is garbage. StencilJS by ionic is what react should have been. Just a web component compiler. You can't build a whole project off that shit for God's sake. Wrong tool!
I hate hype driven development so much. -
@glemiere I was gonna check out stenciljs but it uses classes in JavaScript so I instantly lost interest. You can't look at the way classes are defined and used in JavaScript and conclude that this is preferable to a functional or even procedural approach
-
I understand preferring classes in Java, C#, or C++ where they're powerful representations of visibility and structure and the unit of assignability. In a sense, writing a class is the most direct and versatile way to create a type in these languages.
In JavaScript, classes do none of that. They allow you to specify a factory and globally accessible fallback for a dictionary. -
@lbfalvy the classes you're talking about are just a syntaxic sugar. It's TypeScript. These get transpiled to regular javascript functions.
-
But my Node installs a quadrillion of transitive dependencies in decillion versions.
I NEED TO USE THEM ALL.
Related Rants
I'm sick of a toxic soup of ways to test frontend.
Throw in vitest, jest,jsdom, testing library, @testing-library/jest-dom, together and you are left with n^2 ways things can be configured.
Why on earth do I need to import anything to do with Jest when I am working with a vitest project.
I think such tools are made to get invite opportunities to speak at conferences.
rant
react
js
vitest
jest
jsdom
testing library