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
-
C0D4681383yWelcome to hell.
ReactJS is the framework used to create unstable prototypes, but instead of stopping at the prototype stage, some dickward decided it was good enough for production code.
You'll spend more time in dependency hell then you ever will actually building anything yourself. -
Let me guess. You used create-react-app didn't you?
You can alter the config file by setting up webpack by yourself. It's not that hard.
But you took the shortcut, and now you complain about it being not configurable.
That's on you 🙂 -
nitnip18143ycraco? Yeah, that's Create React App Config Override for you. I used it once to make tailwind available in a react app. It worked like a charm.
-
h3rp1d3v5233yFor the love of Jesus fucking Christ, just use vite. Aren't you Vue developer? Who the fuck still use webpack?
-
@h3rp1d3v about 90% of work environments where JS is used where I'm at. The other 10% uses rollup
-
I love the library because it's unopinionated. CRA showed us that this is a crucial feature because their opinions are terrible.
-
Radec63y@wackOverflow I wanted to use that, but it is mentioned in all resources: "There is no way back when you eject! Use it wisely!"
Well as a react newbie, I never want to use something that can be complicated and dangerous for my beginner project :) -
@Radec IMO the best option is to "eject" from CRA altogether and move your codebase over to Vite which is just as easy to set up by default but it can be configured as easily as any other Rollup project, and the structure is very similar to CRA. As an added benefit, you don't have to use Webpack.
-
Honestly, I think the React team should officially retire CRA and publish a Vite preset instead; the feature sets are so similar and extensibility is so disproportionately different it makes no sense to use CRA anymore.
-
Webpack is usable if and only if you own the config and can change every bit of it.
-
The company pays you to work with that... it's called job. If you don't like you can go join hackathons, game jams... it's called fun.
Well I started learning REACT FUCKING JS because of our team requirements. I'm a Vue developer and well it's a little more complicated for me because react is way harder.
Today I started a simple project to practice react. First thing I realized was that in react project we cannot edit Webpack config by just adding a config file in project root.
WTF !
In vue we could just add few lines of codes in vue.config.js and then we were good to go!
but in REACT FUCKING JS we must install another library named Carco, which is not COMPATIBLE with latest react version!!!!!
FFS WHAT THE FUCK IS THIS FRAMEWORK
rant
reactjs react vue frontend