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
Search - "not react"
-
My 80 year old very absent minded dad made a website, all by himself, using a two decades old book he got from the thrift store.
He's even hosting it himself on an old laptop running Debian, including a redirect to a beautiful nostalgic /~username/index.htm url (not gonna share the link, because his personal details are on there).
The whole site is incredibly carefully crafted, and I'm super proud of him.
Who cares if it's not a React app? The 14 kilobytes of HTML 4.0 markup load in 20-30ms, and it renders pretty much perfectly in every browser including Internet Explorer 4 and Edge.
🤷♂❤️36 -
wife: why don't you react to things I say (she means why don't I go crazy when she says crazy shit)
me in my head: after 7 years in IT I have learned not to react when people above you say crazy shit.2 -
I've put my blood, sweat and tears into this company in the past years. Worked overtime, evenings, weekends, night shifts to get shit done and helped out in sharing knowledge only to learn a new guy who's still learning has 200 bucks higher pay check than me.
I'm not even sure how to react to this.18 -
- Hmmm, react is not as difficult as I thought. Good tool, let's use it.
- Hmmm, Vue is amazing, let's use this instead, much easier.
- Hmmm, Angular 4 is out, let's retire to a deserted island and sell coconut water for a living.10 -
Recently i had to interview a guy with 10 years of frontend experience for a react developer role
Me : Do you know what ecmascript is ?
Him : Yes
Me : Which version would you prefer to use and why ?
Him : I dont use it. I am more comfortable with JavaScript.
Me : (totally confused) 😶
Him : (trying to be oversmart) I know you young guys prefer to use these fancy frameworks because you dont know how powerful raw javascript is.
Me : (Trying hard to not "react") Ok.
How would you "react" to this ?31 -
DO NOT USE JAVASCRIPT FOR PUBLIC WEBSITES IF YOU DON'T KNOW HOW TO USE IT!!!
Almost every fucking day, I click a fucking button and NOTHING HAPPENS. I open the console and find tens of JavaScript errors, that *I* have to debug and fix in order to proceed.
FUR FUCK SAKE, JavaScript is not strictly needed, those fucking React and Vue are also not needed. Just now I wanted to download a form: IT'S A FUCKING PDF FILE, why the fuck are you putting your broken JavaScript function to let me download it!? PUT A FUCKING DOWNLOAD LINK YOU FUCKING MORON!
Nobody is forcing anybody to use JavaScript or those fucking fancy frameworks, SO WHY THE FUCK PEOPLE OVERCOMPLICATE THINGS THAT USED TO WORK SO WELL!14 -
I am backend + a bit devops
8 months I worked with front-end person in react.
8 months he was telling me.. git usage is not needed for front. There is no need for that, it is not like back.
Recently he made refactorization in a week time, this idiot did not do even single commit in the process.
4 months he was telling me, testing is not needed in front. Even if the work is complete, there is no point to cover with testing.
Today I heard from him, adaptive web design is impossible to do in css only, it needs having javascript to control right height and width size for elements.
At last. I got freed from him. He got fired.5 -
Trying out react. Using npm 3.10
Error make sure you are using the latest version of node and npm
Updates npm to 5.6
It looks like you are using newly released version of npm which is not supported. #FML6 -
Dear recruiters,
if you are looking for
- Java,Python, PHP
- React,Angular
- PostgreSQL, Redis, MongoDB
- AWS, S3, EC2, ECS, EKS
- *nix system administration
- Git and CI with TDD
- Docker, Kubernetes
That's not a Full Stack Developer
That’s an entire IT department
Yours truly #stolen9 -
"Hey I am a programmer too! I can code anything, I bet I'm better than you!"
-
"Huh, that sounds cool! What languages do you like to write your programs in?"
-
............ "English"
🤦🏻♂🤦🏻♂
True story by the way, some guy I just met did this. I was not sure how to react. Should I laugh? Should I cry? Should I kill myself? Should I kill him?10 -
React Training offering discounts to anyone who isn't a... I'll let you guess.
Just thought it was funny that they'd list all this criteria instead of opting for the easier "As long as you're not a straight white guy"34 -
Me: asking about a problem in javascript
Other: do u use a framework?
me: yes
other: which one?
me: vue
other: i would use angular because this and that
me in my head: okey thanks but its not a problem with the framework lol
pls stop this. react, angular, vue are all doing the same10 -
My tech stack progression:
Started with PHP without any frameworks, using a homegrown MVC architecture. Used to use `mysql_` functions everywhere. And only jquery + vanilla CSS in the front end.
Then moved to use PDO functions in PHP and Backbone.js + Less CSS in the front-end.
Then moved to Django in the back-end. Did not like Django very much as it is too opinionated and not flexible (although it's damn good for rapid development if you buy into their type of things).
Then moved to Flask + SQLAlchemy and using a home grown architecture. This is a sweet spot for me in terms of back end and stayed in this spot for the longest time.
Moved to Postgres from MySQL as I fell in love with Postgres.
Then learnt React+Redux. Liked it. Made most sense to front-end development this way. Moved front-end stack to React+Redux.
Learning Haskell and been working with Scotty and eyeing Servant for a while now.
Let's see where it goes from here.
PS: this is my personal journey through various tech stacks in various products at various companies I have worked. I'm not talking about moving a product through these many tech stacks. That doesn't make any sense.9 -
You know what really pisses me off about the dev community is the circle jerk that ensues when someone bashes something they have no experience in. Take yesterday's React bash on Reddit and DevRant. Thomas Fuchs compared React and JSX to the intermingling of HTML CSS and JS of 15 years ago. If you knew anything about React or spent 1 hour learning what it's about you would immediately know why that isn't true but no, a giant circle jerk ensued comparing it to PHP! I'm sorry but HOW can you compare a pure JS view library that is renderable by the browser, to a full fledged server side language?? Not to mention the React approach uses a completely different programming paradigm of functional programming.
When I first saw React and Redux I realized what this is all really about, a shift in the paradigms of programming. React + Redux is the first time that functional programming has entered mainstream. We've had functional programming available to us via Haskell and more recently Clojure for a while now but it was never very obvious how powerful functional programming could be outside of the niche that used it for more analytical type tools. Now we have things like hot reloading (https://youtube.com/watch/...) and state playback (https://youtube.com/watch/... skip to ~3min to watch the magic) thanks to immutable state.
Before you decide that React is just another flavor of the month library I encourage you to learn about the advantages that functional programming provides (https://medium.com/@cscalfani/...) and checkout Elm (http://elm-lang.org/) as well. The nice thing about React + Redux is that it gives us a way to start programming functionally, without having to learn ML style syntax like Elm and ClojureScript. Keep in mind, when Object Oriented Programming was becoming popular it was widely controversial as well and look at all it has done for us.4 -
That feel when you’re asked to share work you’re proud of and you’re not proud of anything.
Or rather, you are... but they’re programs written in C/C++ and you’re interviewing for a mostly frontend gig in React.11 -
It was not me doing the screaming but one of my colleagues. He is a super programmer and joined our team early this year as my partner on frontend development.
We're a React/React Native dev house and he has always been uncomfortable with how loose it goes here because of dynamic typing. He has been advocating typescript and Angular since he started and I even allowed him to use typescript on one of the projects.
A month back I started to make jokes about how dead angular was (trigger alert) and he almost lost it. We are good friends so he as been taking it in good spirits.
Last week our boss allowed him a chance to propose a Tech stack for a new project. Naturally he started comparing Angular vs React. I chime in to trigger him again with "why would we work with a bloated zombie framework", he picked up his chair and almost threw it at me while screaming " React is just hacky ". I was laughing so hard and in the end we both did some research. We are proposing Jquery to our boss... (Evil laugh)1 -
The hardest thing about video conferencing is trying to look interested and not react to stupid comments for two hours straight.4
-
This rant is aimed towards those who hate on JavaScript developers and the JS language:
Dear Asshole,
I am a JavaScript developer by choice.
I think JavaScript is great.
I agree that JavaScript have some bad sides to it, but I believe that the community is driving good change to the ecosystem.
I appreciate other models of other languages.
I do not include 3rd party NPM modules without checking their source and credibility.
I will not use a framework (i.e. react, Vue, Anguler) if it's not needed.
And finally:
I can do any software engineering tasks a software engineer is supposed to do.
Kind regards,
Nedo-the-angry.18 -
Until today, I haven’t worked on a react app or front end project in about 5 months.
Hoooo boy. What a fucking rollercoaster ride. One minute you’re doing some slick shit you learned how to do from working on backend projects, the next you’re screaming at your linter and pissing on your keyboard.
2/5 stars do not recommend.
I’m out.
*ascends into the cloud*8 -
Ok, so I work at this "Great" company. I joined a new team recently with a project that is supposed to be a lot better than many of the other projects we have.
THESE MOTHEERRRRRFUCKERS don't even have hot reload on the app. You have to rebuild the app everytime you make a change. Are you kidding me?! We are using React. One of the basics of React is hot reload. I get into a fucking meeting and one of the devs is like, "I have one important thing to tell you, don't use hooks (a not so new feature in react yet something everyone should use at this point)" and the critical reason we don't use it is because they don't want to confuse the Java devs who are used to their little oop style o_O
Maaaan fuck your developers, it's not my fault you guys can't learn something so simple like functional programming. I haven't even started a sprint yet, I'll burn this app and make you rewrite it all.15 -
Wanted to build a quick app, thought would be an hour tops. Lets use react native, why the fuck not.
Now after 4 hours im sitting here, wondering why the fuck did i have the great idea of ever touching rn again.12 -
Context: been coding for a year and been on react for 6months.
So im excited to talk about my achievements. Of which making buttons and menus which i share with my beloved partner.
Few months later I'm confident about my skills (that is not being a simple mortal anymore),so i come back home and my wife kindly asks me:
“how are you today darling? Have you been succesful with your buttons today?”
.... I had to say yes.... -
New country, new company, new team, new projects.
I'm supposed to be the TL of a team working on a React project.
A guy in his late 40s celebrates himself as "the senior", he basically just finished watching a youtube thing, React 101 crash course or similar. The other two juniors who did only Wordpress so far venerate him like a god.
The code, of course, is one on the finest pieces of crap I ever had the pleasure to deal with in my life: naturally a bunch of JQuery plugins for everything, no tests, no state management, side effects everywhere, shared state and globals like hell, everything written in ES3/ES5 style, no types, no docs, build and deploy totally manual, deep props drilling at every level... and not to mention the console.log() shipped in prod.
First day, already headache.
Full rewrite start tomorrow.
Hiring real devs as well.4 -
FUCK YOU BUSINESS GUY
FUCK YOUR SCOPE CREEP
SOLO DEV AINT GIVING U 20 FEATURES IN ONE MOTHERFUCKING WEEK
Seriously, though. Being a solo full-stackq developer who can do both frontend (react, redux) and backend (feathers, node) does NOT mean you have twice the manpower to accomplish all of your shitty shit. Just because you have an idea does NOT mean I have to implement all of it. You don't even have a motherfucking specifications for me, yet you expect me to deliver shitloads of complete fucking feature in a fucking week. This is not a fucking joke. I am NOT your mother fucking tool. I need time to build my stack, design and perfect the interface. I don't want a shitty motherfucking product on my fucking portfolio.
*dies inside*11 -
`npx create-react-app blah`
`cdls blah && npm audit`
63 vulnerabilities.
good fucking job.
To be fair, they're all minor, but they're all *exactly* the same, caused by the same freaking package. Update your dependencies already!
------
`npm i --save formik && npm audit`
68 vulnerabilities, three of them critical.
ugh.6 -
WOOOO!!!!! I BUILT MY FIRST FULLY FUNCTIONAL REACT NATIVE APP! Including the release apk that needs to be signed. Took an entire day and more like an advanced HelloWorld.
But the core functionality works... Though not pretty...3 -
TL;DR : 38837+ stargazers repo thought it is cool to design snow on top of their UI buttons, and also changed their titles to “Ho ho ho”. Received "This is not good for production!!!" issues tickets.
People from /r/programming or devs from China or react devs might know this story by now.
Story : http://blog.shunliang.io/frontend/...
Lesson of the story : Do not go crazy extent for cool things for your product.9 -
Wake up, it's 1983...
Node? React? Copilot? Programming Socks? Furries?
Man, I told you to not drink so much the last night, now wash your face and grab a coffee, you have a program for the VAX-11 to finish.9 -
Day 3 of getting this god forsaken react app to launch!!
My fucking god you cock suckers make life difficult.
Npm install - they say
Npm start - that say
Npm - go swallow my god awful error log and fix all these dependencies
Npm - here's a dependency that didn't install but I need it
Npm - what do you mean your not using a fucking Mac with sass files!
C0D4 - I'm this.close() to fucking stabbing someone!12 -
So a Developer not using a React-native component library because it is backed by Microsoft
This is next level shit
PS:- the library is actually pretty decent23 -
Does anyone feel overwhelmed by all the new technologies? It's like every developer nowadays code in JS, and knows ES6, React, webpack, babel by heart. I have been working in Java for less than a decade and sometimes feel like I can't catch up. Even in Java ecosystem there is now Scala, Groovy, Gradle, Kotlin... Not to mention other languages like Python, Swift... How do you guys have time to pick up everything?? 😖7
-
Many people were hired to work on new product, but no one have told them that for one or two quarters they will have to maintain 20 years old project. I was ranting about this, but in the end accepted my fate, wiped tears with money and moved on. However one of devs took another path. When he was asked to work with .aspx and jquery 1.X instead of react, he just said : "Not going to happen" and left the building.5
-
Trigger Warning - Don't date JavaScript developers.
They Promise to Callback but they won't. You'll Await in vain. They don't know how to Express themselves and React to such situations.
You might not be happy to hear this, but I'm trying to save you from a Garbage situation1 -
Wow, since vue passed react on gh, this is like a competition, but only for the stars.
It's been like 2 days that there's < 10 stars of difference.
Looks like shitpost that you see on facebook, where the likes are not use to "evaluate" a post, but mostly as a dummy counter.
Am i the only one to found this ridiculous?7 -
Me and my team has been creating React components for the last two months. Today we realized that not a single component is done the Redux way (as pure functions), which means we have to refactor every component and the tests.
That's what you get for trying out new technology..3 -
Not particularly advice, but taught me Git, React, Node and bought me pizza whenever I succeeded in a task3
-
So I wrote a few functions that draw this graph and sent the graph to my math teacher as a joke. And he asked me "Is this that "see" program ?" I didn't know how to react, so I just said Nope, It's not😶..
-
Friend: Hey I need an app to download videos from youtube.
Me: The store is full of those app..
F: naah, they're all full of Ads and spams
M: So..?
F: You're a mobile developer, make one..
M: Uhmm *I am learning React Native, so why not.."
"And he's a good friend of mine", so..
I created a repo for this (This is just my todo app) :p
https://github.com/WahidNasri/...7 -
I'm not going to have a lot of new friends here but I am fed up with all those guys complaining about CSS on devRant.
CSS is damn easy. Get over it. Take some lessons, learn it the right way and shut your mouth.
I'd prefer you share your enlighten opinion on CSS in JS with React Native or CSS compositing with ReactJS which are both huge pain in the ass.
Plain CSS isn't the cause of all your pain. You are.11 -
Looked up "mounting children" while researching into React, not realizing other implications...🤦♂️ Waiting for the feds to show up at my door any moment now to take me away. 😳7
-
Ok, I've tried multiple times to learn it, but just hate React and JSX. I don't know why-maybe because I'm a not a professional developer yet and can't see the right use case for it? I feel that's it's so overly complicated to render some HTML. Should I keep trying to learn this or just work with what I like for my projects, then learn React later? ARGH18
-
Fuck web development - especially CSS. Actually only CSS.
Love Js/Ts, Vue, React (NextJs ftw) and especially thank you to SCSS for making things easier.
But CSS is my most detested LaNgUagE now.
After I finish these 2 projects, I’m not doing CSS anymore. Minimal touches, sure, but no more positioning.
Maybe that’s why I like Flutter, no hassles yet.20 -
TL;DR: Stop using React for EVERYTHING. It's not the end-all solution to every application need.
My team is staffed about 50/50 with tenured devs, and junior devs who have never written a full application and don't understand the specific benefits of different libraries/framworks. As a result, most of these junior devs have jumped on the React train, and they're under the impression that React is the end-all answer to any possible application need. Doesn't matter what type of app is, what kind of data is going to be flowing through the app, data scale, etc. In their eyes, React is always the answer. Now, while I'm not a big fan of React myself, I will say that it does its job when its tasked with a data-heavy application that needs to be refreshed/re-rendered dynamically and frequently (like Facebook.) However, my main gripe is that some people insist on using it for EVERYTHING. They refuse to acknowledge that there can be better library/framework choices (Angular, Vue, or even straight jQuery,) and they refuse to learn any other frameworks. You can hit them with countless technical reasons as to why React isn't a good choice for a particular application, and they'll just spout off the same tidbits from the "ReactJS Makes My Nips Hard 101" handbook: "React is the future," "Component-based web architecture is the future," (I'm not arguing with that last one) "But...JSX bro.," "Facebook and Netflix use it, so that's how you know it's amazing." They'll use React for a simple app, and make it overly-complex, and take months to write something that should have taken them a week. For example, we have one dev who has never used any other frameworks/libraries apart from React, and he used React (via create-react-app) to write what is effectively a single form and a content widget inside of a bootstrap template. It took him 4 MONTHS to write this, and it still isn't fully functioning. The search functionality doesn't really work (in fact, it's just array filtering,) and wont return any results if you search for the first word in an entry. His repo is a mess, filled with a bunch of useless files that were bootstrap'd in via create-react-app. We've built apps like this in a week in the past using different libraries/frameworks, and he could have done the same if he didn't overly-complicate the project by insisting on using React. If your app is essentially a dynamic form, you don’t need a freaking virtual DOM.
This happens every time a big new framework hits the scene. New young developers get sucked into it, because it's the cool hip new framework (or in React's case, library.) and they use it for everything, even when it's not the best choice. It happened with Angular, Rails, and now it's happening with React.
React has its benefits, but please please please consider which library/framework is the best choice from a technical standpoint before immediately jumping on the React train because "Facebook uses it bro."2 -
PyTorch.
2018: uh, what happens when someone uses a same name attack? - No big deal. https://github.com/pypa/pip/...
2020: I think that's a security issue. - Nanana, it's not. https://github.com/pypa/pip/...
2022: malicious package extracts sensitive user data on nightly. https://bleepingcomputer.com/news/...
You had years to react, you clowns.6 -
Friend: why do you hate react so much ?
Me: Because web development should be all about browser compatibility ( yeah even for that shitty ie8 ) and usability not spa and shitty made animation that breaks when you switch from landscape to portrait .
Friend: then why do you use it ?
Me: money. -
Dear rubber duckie,
* When using React, make sure you use
{ varName } and NOT
{{ varName }}
* Also, make sure you have a way to switch your app into the NON minified react.js script easily. Otherwise, you'll spend an hour writing a switching mechanism only to hate yourself for the aforementioned mistake above. -
Trying to answer a React mapping problem on stackoverflow.
It's a relatively simple problem.
While I'm typing... all sorts of wrong answers keep popping out.
Oh geez.
People are hungry for reputation
In the end, I removed my solution, and leave the answer in the comment. This is not my fight 🤦♂️6 -
I’ve come to the conclusion that developers who like react have never used it for anything even remotely complicated.
Because here’s reacts dirty little secret; it doesn’t scale. Not even a little. It’s flexible, but that leads to every developer writing their code in a different way.
It’s simple and easy for simple side projects, but as soon as you have to pass state to a child component, you’re fucked. And god help you if you’re modifying the state in said child component. You can try using redux, but that’s a bandaid solution to the real issue.
There are better alternatives, namely Vue. There’s no need to write unintelligible code that’s a mutated hybrid of html css and js. We as web developers realized mixing these technologies was a bad idea a long time ago.
React simply doesn’t scale. It’s flexibility, complexity, and the awful code quality it leads to makes it a nightmare for large projects with multiple developers
Some of its concepts are interesting and useful though. It’s functional concepts allow for easy code reuse, among the other benefits associated with functional programming
I sincerely hope that the hype around react dies out, and a new framework emerges that takes the best from react and fixes the glaring issues it currently has23 -
(As a freelancer I was asked to do a couple of tasks on legacy code)
Let’s check this code, how bad can it be?
- all of the following: unreadable mess, no auto linting
- tests: some are there cause there’s not enough automation, others are poorly named
- frontend: somehow a genius made a react component for every variable in the store which only passes the variable to the child (wtf)
- backend: death by best practices
- ci/cd: “we have it but it’s broken”
Let’s fucking goooo 😎
Diagnosis: my therapist is getting rich
Chances to not cry tonight: close to zero
At least they pay well 🤷♂️5 -
1. Master react
2. Finish my grad thesis
3. Get a react dev job
p.s. Not necessarily in that order.1 -
I’m a long time Objective-C and Swift developer...I’ve been asked to “research” a project using React Native.
It felt dirty to be writing an iOS app using JavaScript.
I’m still not sure why and how React Native is better/faster than native Swift.
Someone change my mind...11 -
It's official, the "front end dev" doesn't know how to code.
Why.
And it's not a "Well I don't know JS because I use React." scenario, no. He has almost no idea of coding.
What was he thinking trying to build the front end of a very complex app with just HTML, CSS and stupid copied and pasted snippets?5 -
Managed to land 2 interviews:
The first one was for a startup that was looking for a react programmer (I've never used react before).
The later was a php job at a big company. They told me they used cakephp which is a framework I had not used before either.
Still, I'm more familiar with php than react so I felt more confident with the second interview. However, I felt there was a lot of good chemistry going on in the first interview.
The interviewer was incredibly nice (he was the lead dev, not an HR person as opposed to the second interviewer)
He gave me a small react test to be completed within a week. I barely managed to do it in time but I felt good about the solution.
Just as I was sending it, I get a call from the second interviewer saying I landed the php job.
I wasn't sure if my novice react skills would be impressive enough to secure me the react job (and I really needed a job) so I accepted.
After explaining everything to the guy who was interviewing me for the react job, he understood and was kind enough to schedule a code review where he walked through my novice code explaining what could be improved, helping me learn more in the process.
I regret not accepting the react position. The PHP they got me working with is fucking PHP5 with Cake2 :/
Don't get me wrong, I like the salary and the people are nice but the tech stack they're using (lacking source control by the way!), as well as all the lengthy meetings are soul-draining.6 -
Rant much...
I just started working on project after a group of students.
The project has various of bugs (ofcourse) and not catched exceptions.
I found variables like 'abcd' or shorts of classes like 'rrms'.
I would be fine with all of that but there is one thing is just making me crazy:
THERE IS NO SINGLE FUCKING COMMENT IN WHOLE SOLUTION (three projects and about few hundred files with javascript and cs).
Imagine freaking pure react (no jsx) full of null arguments and multiple custom control written like 'var gl= GreenLabelled(null,null,text,5)' (a button ) with again, NO FUNCKING SINGLE COMMENT.
I just cannot stand it. Just spent 3hrs to wrapp my head around events in this react classes...10 -
So lets start here, as i have been preparing myself for a while for that rant. I have been putting it off for a while, but today I had enough.
Fuck react-native and fuck facebook react-native team. Bunch of lazy incompetent twats.
The all amazing framework that suppose to be speed up your development process, since you don't have to compile your code after each change. SO FUCKING WHAT if the god damned framework is so fucking buggy and so fucking shit that you constantly have to fix build, dependancies etc issues. Every day since I work on this project that is using react-native I have to deal with some of the react fucked up behaviour. You got an issue ? don't worry google it just to find out that 100 other people had the same issue. Scroll through down the bottom of the page just to find out that facebook devs have closed the issue as resolved (without fucking fixing it) because there wasnt recent replies to the post. Are you fucking kidding me? It's ok thou, create a new issue just to get an automatic reply from the bot that locks the thread and keeps it locked till you update your React-native version to the newest one. You do that and guess fucking what? Their newest version fucks up remote debugging on iOS(fucking android been broke for over a year) so say good bye to debugging your js code. Documentation is fucking trash. You found a nice function like autoCaptialise on your text input? Great! Ah wait, its not fucking working, what is wrong? You google this just to fucking found out it, function never worked on android, so why the fuck you still have it exposed and still have it in your docs? You want to add package? So fucking ez, just type npm install <name of the package>. Ha! fuck you, you still have to go and add them fucking manually in gradle in android and in pod in xcode, because obviously react-native is a one big fucking bullshit. Oh and a scroll view is a fucking glorious highlight of that framework, try add some styling to it, you gonna have loads of fun. Fuck react-native. And fuck the fucking idiot who convinced my boss that framework is so fucking great and now I have to work on this shit. Sincerely Xamarin Developer.9 -
This is not a troll q, im gebuinely interested.
What sets spa frameworks (say react) apart from a templating engine and some dom fuckery? To me it seems they are all just syntactic sugar on top of these two very basic things (plus routing), but admittedly im not a frontend dev so im asking more experienced people here.8 -
It's not just the fucking money, it's my fucking time. U wanted Polymer but now React?!! Fuck me sideways!4
-
Note to self:
Fifty shades of gray is not about CSS or any other subject you care about. Delete mental association so as not to react like Pavlov's dog every time you hear/see title mentioned in mass media.
Squirrel!3 -
Got asked to fix a bug at work. The code (react) looked like this:
file = form.file;
this.setState({file});
this.methodThatNeedsFile();
So i explained that the changes from setState are not adopted immediately etc. Then i take another look at the code and feel the pain in my head. You could shorten the code to:
this.methodThatNeedsFile(form.file);
Is there some subconscious need in the brain to make use of frameworks even though it makes no goddamn sense and "normal" programming is sufficient? -
Common misconception is that low efficiency technologies (react native, in this case) are completely useless. That is not true at all. Im building a smart home, and yes i want a mobile app, but 90% is just requests to endpoints, so its way simpler to just copy paste some buttons inside a js file than do it properly with native. Would i use it in prod? Fuck no. Would i hack together a bunch of buttons? Fuck yes.8
-
In some unpredictable turn of events, ignoring my PR for 6 months will cause said code to not be aligned anymore with develop.
And it gets wilder: if you reject my PR for this retarded bullshit, I may not react in the civilest of ways.2 -
Hey dear HR people and Headhunters - learn to write proper Joboffers - when someone is a JavaScript developer and even writes JavaScript for 10 years for a living doesnt mean he can or wants to write strict typed TypeScript out of the box using an library ecosystem and NOT a framework already written with TypeScript (React vs Angular)
Write TypeScript developers in the job offers when you search them: TypeScript !== JavaScript.6 -
I hate react so much. I hate it with the fiery rage of an old testament god. I tried to like it. I wanted to like it.
Unfortunately I picked up Angular (2). I'm now used to a framework that has you covered for most things. That has logical methods of laying out your app. A router that's actually built in and makes sense.
I'm used to writing HTML in the templates, not some horrible abomination of XML that's pretending to be HTML and just waiting to pull off its mask and smack you across the face with its penis while telling you what an idiot you are.
React apps all seem to be cobbled together in a different way. You have to go hunting for the logical stuff you expect to be there.
Let's not even get started on the tome of dependencies it needs to get itself off the ground, all written by vastly different developers from different planets with completely different life goals.
I hate it. The more I learn about it the more I find myself yelling "WTF!" while shaking a fist at the wall, hot tears of rage steaming down my pudgy cheeks until my wife comes running into the room and consoles me with my head on her bosom.
...and I just started a project that will have to be seen through to the end, using.. react.
Seriously, fuck you react, I hope you die of herpes.11 -
One day my colleague says that React Js is used for frontend as well as backend. I did not agree with him also he blames that Backend API’s also can be created using React Js. I could not believe because as per I know React Js is a library for frontend not for Backend. Still, some other colleagues supported him because he is the senior developer I am an intermediate developer.
Then I ask some of my friends who are currently working on React Js, Can we use React Js for the backend? And the next day I went office and talk to my colleague that I could not found that React JS can be used for backend and backend API. And he replied You can use nodejs. Oh! Man But I think Node and React are different tools.10 -
It's 00:54. I'm supposed to wake up at 8.30AM. Not even tired. In front of my computer, with a frozen Visual Studio Code on the left screen and a frozen Madeon music on the right screen.
My CMS won't get compiled anymore, due to lack of memory. I have 16gb of RAM, gave it 4 of them, and it froze. If I give it less, it just won't compile. Why. I can't figure out wether if it's my code which has some memory leaks or if there's just too much JavaScript in it. What did fuck up? My code? React? Material-UI? The way I want to mix them all together? Maybe I just shouldn't have used React to cover up everything, and maybe I shouldn't have used Ruby on Rails the way I did.
Fuck.
What do I do now.10 -
My boss started contemplating whether to start using styled-components for react.
I showed him Vue: "oh well, so we're basically recreating Vue within jsx?"
I'm not sure what problem we're solving anymore1 -
I am so much stunned i cannot form a sentence on what to say. Lost 3 days trying to fix a bug on why socket.io was connecting to backend TWICE per user. I cannot fucking comprehend this. Backend works fine because via postman it doesnt connect twice. Everything works fine. 72 fucking hours waste d of my life just to find out i had to change
<React.StrictMode>
<App />
</React.StrictMode>
Into
<App />
When i tell you my jaw fucking dropped it fucking did. And it does not drop often or that easily for me. What the FUCK is react strict mode???? FUCK react. I fucking hate this piece of garbage framework. I even like nextjs better. React💩💩💩💩💩💩💩💩💩💩motberfucker WHY is strict mode fucking my code what use does it have who gives a shit why does it have anything to do with websocket connection FUCK react 💩💩💩💩💩💩💩💩💩 how does this piece of camel turd have anything to do with duplicate connection 💩💩💩💩MFKKCER this garbage doesnt exist in my beautiful angular or nextjs PLS why this cancer has to be so headaching i knew I'll get FUCKED if i dont go over a detailed course learning react from scratch. Now im suffering. Learning this garbage the hard way FUCK off4 -
I love job posts made by HR cronies:
"A majority of your time will be enabling development in our React Native app with a large amount of time dedicated to the rest of our stack."
So, if my math is correct... a majority is greater than 50%... but... "a large amount of time" meaning the rest?
Another job post asking for the typical 10x dev
BuT wHy CaNt We FiNd AnYoNe?!?!?! ThErEs NoT eNoUgH gOoD heLP tHeSe DaYs!!!2 -
React router is shit
I have never seen more retarded library.
Not only those suckers change the 100% of the API every fucking update for no reason, also they have the most fucked up documentation ever.
No search in the docs!!! Fucking bullshit examples with no such easy things like how to create nested routes.
Please, stop using this piece of shit, I'm tired of working with this fucking abomination. Hope they will delete their shit repo one day.22 -
(most of the) Medium authors all suck fucking dick. Those fuckers are the reason the internet needs an IQ lock.
Stats about React vs Angular vs Vue.
Yeah of course let's compare search count of React vs Vue vs Angular but Vue must be searched with ".js" appended. NOT A SINGLE FUCK ADDS .JS WHEN SEARCHING FOR VUE.
Left: stats from article
Right: stats, if you use google trends correctly7 -
Me: Oh, man, there are hooks for react-redux now? I don’t have to wrap components in a higher order component to get information from the redux store and dispatch actions? Could this solve the problem I’m having with data fetching and consistency in the app I’m working on?!
Spends entire Saturday writing a basic server, connecting to an mLab instance, filling said instance with dummy data, starting a create-react-app, writing a reducer, action creators, components, etc. just to test how useSelector(), useEffect(), and useDispatch() would work in an application that isn’t just a simple counter (why is it that like every example is always the counter example?!). Bonus, react-router now ALSO has hooks, so got to play with useHistory() and useParams()
Conclusion: Maybe. It does appeal to me to not have the cascade of virtual DOM that you always get nesting HOCs, but I’m also wary of appearing too willing to jump on it just because it’s the new thing.
Has anybody else played around with react-redux hooks? Your thoughts?
Also, yes, I know, not every app needs redux. It had it when I was brought on and I don’t really have the ability to change that implementation detail now.3 -
How do you get new employees?
We have a lack of personnel in our company. We do not receive applications via job advertisements or advertising.
Our company is modern, has good project planning and employees receive company cars. Projects made in react, node, php, java and python.
So, how can we find new employees? Which way are you going?19 -
My react developer tool popped up to tell me that my company slack is using the development build of react not fit for production...1
-
Fuck Google Chrome cache.
For almost an hour, sat and tried to make changes to a react UI but unfortunately nothing's changing. Started to worry and doubt myself.
Even thought of getting myself the yellow duck! But fuck no , little did I realise that Chrome "intelligently" fetched my page from cache even though I was using incognito! Had to re-open the browser to realise that.
How did I find out you ask? I thought why not fucking open the same page in Mozilla . Why? Because why not?! But I still can't believe that I wasted a whole fucking hour due to that piece of shit called cache!19 -
How I feel when I finally manage to make "Hei guyz" show up on the front page with React, after 5 months not touching any JS libraries.1
-
> be me
> be developing a react native app
>realize the iPhone X notch is clipping your content on the first/home screen of the app
>google says: simple fix
>find a built-in react native thing to add safe area padding
> refresh the app
> ohno.png
> the other screens with navigation bars already have built in padding
> TOOMUCHPADDING.jpeg
> remove safe area thingy
> finds a clever, not particularly hacky way to pad the home screen without showing the header bar by setting its height to 0 and the color to match the content background
> more-problems.app
> there’s a small 1–pixel light colored line separating the header from the content clearly breaking the otherwise continuous single color background
> google.sh
> wtf.txt
> stackoverflow.html
> no responses except something I’d already done
> keep experimenting
> tries basically everything to figure out where that line is coming from
>sets borders to thicccc and bright red
>no bottom border? Ok that’s not it
>opacity?
>forgetaboutit.mov
>try shifting the header position around by a few pixels? Maybe it’s misaligned with the white parent layer underneath?
> nope.jpg
>it’s past bedtime
>Sleep.jpg
>thenextday(today).zip
> what about the content? Is that misaligned?
> nope2.jpg
>Maybe its an iOS feature not a react thing?
> make a test Xcode project, completely native to test
> negative.dng (pun intended)
> more-furious-googling.mp3
> find a native iOS stackOverflow question with the same issue (1px line)
> realize your Xcode test wasn’t done properly.
>atleastimmakingprogress.iso
> start looking into the SO post
>it’s native so I have to find out how to do it in react-native
>invent a bunch of style parameters that don’t exist in the documentation to see if there’s an undocumented thing
>loadsaloadsaerrors.log
>googles for a react native version of the iOS only SO post
> somethingpromising.tar.gz
> *tries it*
> “Haha nope” -my code
> whataboutthisotherthing.bin
> KENSISHSBUCNEGWISBVSIDNRVSIDNFIRJRBDKFNFIDJFIFKFNR
> HOLY FUCK
> IT WORKED
> AFTER TWO FUCKING DAYS OF SHITTERY AND SHENANIGANS
>AND MANY STACKOVERFLOW EDITS TO A NOW VERY MESSY POST
>THEREISNOMOREBORDER(final).zip
>*screams of relief*7 -
Hey, can anybody help me?
I have to improve this AI for the game Reversi (Orthego).
I do not have any clue how to begin.
I only know we have to do it recursive and the depth is really low because it has to react within 1 second.
The task suggestion is that we can use MinMax, Alpha-Beta....12 -
Somebody has to say it.
React is a lot more trouble that it's worth and has fewer good ideas than people give it credit for. It's a great tool for any other context that's not the browser, and the only reason its the new cool kid in town is because Facebook made it so, and because x-rays went nowhere.undefined remember writing a script tag and that was it react web development webpack is bullshit guys come on webdev5 -
!rant
So, I don't have any idea about copyright law. I've heard, that React is bad, as it has a `if you sue or in any way "compete" against us, we revoke your licence` clause.
So how bad is this? Is this really a thing, unless you either sue FB, or they try to buy you (which are both not very probable for small companies). Could someone who knows their shit give me a tl;dr summary (or feel free to debate)
What I've found so far: https://github.com/facebook/react/... which seams to be kind of ok.
This would be the patent: https://github.com/facebook/react/...7 -
Not sure if I found a red flag or a green flag…
“The candidate needs to know react well. No, using npx create-react-app is not enough!”
On a first sight one may think: “oh cool they search someone with in depth knowledge”
On a second thought, tho…
- Am I going to need to start many react projects in the role? Don’t think so.
- if I am… am I forbidden to use cra? Why? 🤔
- how is not using a bootstrapper a sign of “deep knowledge”?
Sounded interesting at first, but the more I think about it, the more I think this request is a red flag.9 -
My boss: now that the other project is stable, you can start working on this new one. It has to be built from scratch in Angular.
Me: is there any particular reason we have to make it in Angular? Last one in React+Redux worked very well and I am getting used to it.
My boss: Just to give it a try.
And Angular steep learning curve is not even the worst part. Lack of design and direction is.2 -
Do you plan to develop a mobile app which works cross platform? DONT USE IONIC(2). JUST DONT. Thank me later. Have a look at react native (not perfect but much better)13
-
Not really a rant, but now I'm back to a project NATIVE PROJECT WRITTEN IN JAVA!
No more React native for now, yay life!3 -
I hope I did not make the wrong decision here:
Been working on a side project using React Js for a year now. After getting to know more about Vue, I just started rewriting it and moving it to Vue, to speed things up I'm using core JS classes for network stuff and validations ...etc just rewriting Redux to Vuex and React Components to Vue Templates
If I made the wrong decision I'd appreciate if anyone tell me about it before I go deeper in the rewrite process lol
It is not that I found speed difference both perform the same from what I've seen for my scenarios. But the output code of Vue is soooo much cleaner than what I found in React, either I failed to write a clean react code no matter how hard I try to optimize it, or Vue really takes the short way and keeps things clean.19 -
I started applying for jobs. As I have over 150 repos on GitHub and 10 years of relevant work experience, the company obviously had trouble validating if I had some basic coding skills. That's why they decided to send me a coding "homework" task to build an app in React Native.
Basically, the task was building an app with 2 screens and one bonus where they indicated "doesn't need a UI". I spent half a day spinning up their project, installing XCode, their specific versions of Ruby, and around half a day building the thing.
Obviously, I wanted to demonstrate my technical skills, so I added a few tests, proper typing, comments, and so on. The project was in a good state, and on the "bonus" screen I quickly added a few components. Since I have a lot of things going on, I capped the amount of time to one day of work. I felt it was good enough to demonstrate I can build something like this.
A few days later, I received a response from the recruiter telling me they wouldn't move forward. She in depth explained that this was because of a missing key property. I did indeed miss one key property on the "bonus" screen, in the part that was not even part of the core task. This was a list of very few static elements, and the entire list only got rerendered when changing routes. Basically in this case, there would not be any visible performance impact.
The recruiter explained in the email that I was missing the eye for detail they need, and that I should "educate" myself more about lists in React. I made one tiny silly mistake in a one-day project, that a linter would've taken out (if this project had one). I've contributed to React Native myself and worked with React for almost 7 years now? Yeah, it's a stupid thing, but what is the point of these types of tasks? I thought this was to demonstrate my skillset, not to be called out on.
Either way, my question here is this: at which point does it become appropriate to send an invoice for the time I wasted on this?6 -
Me: Hey SEO guy. I am updating our online store from Flask/jQuery in ReactJS.
SEO guy: That is amazing. Google LOVES ReactJS and it will crawl the site very fast.
*fast forward*
SEO guy: Hey, did you change anything in the site because the site is not ranking anymore on Google. The URLs are dynamically generated in front end. Google does not like that.
ME: But you said that Google loves React. It took me nearly 1 month to migrate the code in React.
Fucking hell.11 -
I might be new to webdev , but wtf is wrong with imports in js ?
html seems to get the only decent way of dealing with js: all the files mentioned in subsequent <script> tags can access the functions of previous file
but when it comes to those generated html content(aka react projects) and servers, nobody seems to come to an agreement : react guys uses import while server people uses require. and both of these can't be used in the same file : import works in mjs files (or usual files too if type is defined as module) while require works in cjs file (or usual js files if type is NOT defined as module)
so i kind of like imports for its elegance and resembelence to java imports. and i might have got into some errors in unrelated areas , so my package.json has type=module . i want to use some cjs package (jsonwebtoken) and that shit for the love of god won't work with import, so i gotta use it with cjs file and then the whole project can't use that crappy cjs file.
WTAF ? has web world not got matured enough to not have this shitty import export situation?should i write caveman code and convert everything to require(..) ?
fuck me6 -
Front end web development :
In 7 the standard : HTML
In First semester : HTML , CSS , BOOTSTRAP
Now : HTML , CSS , BOOTSTRAP , JS , SASS , JSX , REACT , JS libraries and what not . It's seriously very deep . -
Hate to admit but I am really not feeling react thus far... a function to output an H1 tag that takes many times longer than just creating an H1 tag... why?4
-
I'm fiddeling around with progressive web apps. I made something and hosted it on a subdomain. Today I made a typo and found my app on an other domain. All my assets and files are copied there. He even uses my SSL certificate.
It's not that spectacular. The app is nothing "revolutionary". It's just the first time it happend to me.
Have you ever found your code on other websites ? How did you react ?7 -
I hate React. I keep reading that people have problem of grasping it, but that's not the case for me. I get it, I understand it, but I hate with passion HOW it's done knowing how nice it's done elsewhere. What really triggers me is how ugly it looks, both from architecture and code level. To me it really say a lot when even code shown in documentation looks ugly, and while reading it you ask ourself constantly "why it's done this way?". When I read React being called an "elegant" solution something explodes in me. Did you saw Svelte? Vue? Damn, even Alpine.js?
I just cannot how overengineered this API is. Even doing simplest things there produces so much junk code written only because this is what library requires. Why? I feel like working with it is a punishment.
And scalability and maintainability? I've never seen large-scale projects more messed up than those wrote with React. And yes, you can blame teams working on them for lack of skills, but it is the library which encourages or not good practices also, and I've never seen such bad situation with other libraries/frameworks.8 -
Sifting through a React class component that is over 1000 lines long.
When was this written? Not in the 1950s like you might think. Just over 3 months ago.
Kill me.6 -
Today was a bad dev day working on a shitty React project. Not that React in itself is bad, but it can be hell to work with when the code is a big pile a crap full of anti pattern code. I spent the day refactoring to try to fix a bug, but to no avail. It would take days if not weeks to put some order in this mess and to prevent such bugs.6
-
Folks,
What static site generator do you prefer, and why?
I want to set up a website for a small business and do not want to spend a lot of time on it but it also should be blazing fast.
My familiarity with react leads me to Gatsby, but there are probably good alternatives.
It should also be easy for the (non-tech) admin then to create posts on a news page or even new pages (probably with Markdown).
Thank you in advance!4 -
Just fucking use the defacto standard. Shut up. Quit being immature. You're not the main character. No one in the world will use your new standard you pull out of your ass just because you thought you were better than other people. You weren't. You're an average dev by any means. If you feel like no one respects you, keep your ego problems out of your work. Just because your emotions are valid doesn't mean all of us have to live with them turned into code.
If I needed a web framework, I would've used React. I don't use React not because I wrote my own framework. I don't need a framework, like at all. Unless you think that ~300 LOC utils.js file + no build system whatsoever is a framework that is.
Sorry, just encountered non-upper-snake-cased environment variables and wanted to vent.4 -
Was just asked why a react project keeps on throwing CI error that path not found, saw the OS was windows and my reply was:
I don't dare using Nodejs/React on Windows, on *nix machine or that thing will keep on messing up
I hope I was right in my response :S6 -
I got my dev ducks in recently (React, C++ and C#) but brought them to work before I took pictures and now I can't show you guys because I am not allowed to take pictures at work.
Believe me, I have them.2 -
Every day is a new day to doom us all.
React Lua
A comprehensive, but not exhaustive, translation of upstream ReactJS 17.x into Lua.
https://github.com/jsdotlua/...1 -
> wanting to add an embed google maps to a website I'm working on for fun, with React
> Check the API documentation, excepted their iframe they create from your needs, not much info about how to set in a a js framework
> decide to check if anyone has already created something with React
> They did! 1 american dude, one polish, one last from idk where
> The rest is basic doc so let's try each of them
> Errors, errors everywhere
> Screens stays awefully white
> Spend 2 hours checking, checking and checking again each library
> Each of them have a different problem
> Fuck this, let's copy the iframe thingy from Google's doc, adapt 1 or 2 things because of React and run npm
> Google maps works on first try -
I just released my first NPM package that is actually functional and used in a private project (https://npmjs.com/package/@lbfalvy/...) and I have to say, the quality of debug tooling for Node is abysmal. I spent 4 hours just on Webpack's "Field browser doesn't contain a valid alias configuration" error which simply means "package not found", and then getting Rollup to output a working compiled javascript _and_ a d.ts was its own day-long ordeal.4
-
Recruiter bot just emailed me with some offers, let's take a look...
"Hand-on Experience with SQL and NO-SQL Databases preferably Redux"
Whew! I was worried for a second, thank god they are using a Redux database and not one of those really crappy React databases! I'll really consider applying now.
smh2 -
Im putting together a new stack (i do it every 8-10 months). Queue the dramatic music, its not java this time. So far i got Python Flask and maybe React but im not sure yet. Question is, what db should i use? Ill probably go for a json one, thinking about rethinkdb for now, but if anyone has a better idea, please share.16
-
Started taking an Angular 5 tutorial to see how things were going in the world of Angular JS. I got to say, I am impressed. It makes me think of React in a lot of ways, but with a heavy emphasis on separation of concerns. Particularly suited for those that do not like to mix views with logic. I am liking it and going at it with an open mind although React is still my preferred option. One thing that irritates me is the ammount of "plz sir, can you give code for <insert complex and heavy app that people just do not give for free>".....so annoying.
On another note, I like how Angular brings in the concept of di among other things to the table, what I am trying to get is the feeling of writing 2 apps, there is one thing to have MVC on the background, the other is to have it in the frontend! Oh well, Angular (first edition) was fun and I know it decently well, time to get cracking on more code!! -
!rant (okay somewhat it *is* a rant, idk)
So I recently got into using react-native to make an android application, with another partner of mine.
I use a Mac while my partner uses Windows
Now since I was the one who suggested to use react-native, I started the project on my system, set it up (took some efforts though), and put the code on a git repo.
My partner cloned the repo, and it stopped working. Bummer.
The exact same code worked perfectly well on my system, but didn't work on his windows.
When he made a new project on his system, it didn't work on my system.
The error that kept occurring was EISDIR on both our systems.
Is react-native not meant to work for development on different platforms or is windows just a bitch as usual? -
for one split second I thought I had discovered a way to manage multiple states with one reducer function in react,
turns out it was a bug in my code,
I had already gone to brag about it on my react group chat, until I went back to my code and as I was cleaning up and closing brackets and all that stuff, my new feature stopped working.
I need to find that bug3 -
So this stupid fuck whose react code is a clusterfuck of bugs just bashed me when I said Java is better then node because of reasons...
I was literally speechless while thinking if I should humiliate her or not.
Guess life will show her because I don't give a fuck. -
Spent an entire week working on XCode configurations for a react-native+swift+objc bridging project. Been failing builds all week. Finally i look over to see the glorious word Succeeded!
Then I realized it was the clean that succeeded, not the build. FFS1 -
"Warning: Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."
WHERE. TELL ME WHERE THE FUCK THE PROBLEM IS HAPPENING. OR SHUT THE FUCK UP.3 -
Why is there no VueJS job requirements in my area? It is all about Angular and React. Quite sad my favorite JS Framework is not a favorite here.
Guess I'll be forced to study Angular or React for job requirements purposes only *sigh* 😩 It is like - forced eating the only available food that you don't like in order to survive. Oh well supply and demand.
I haven't seen any VueJS requirements yet in all the job posts that I browsed 😕11 -
I take a look on Dart, which used by Flutter, a "React Native inspired" framework.
Very similar to Typescript and Java, so whatever you write, probably gonna work.
But I feel lack confidence on any language Google promoted. Eg kotlin and Go
🤦♂️
Google hired too many PhDs who have nothing to do, so they spend 1 day per week draw some doodles...
Hope this is not another weekend warrior project.🙄9 -
Pro-Tip: If you change your `div` to `li` and then decide to change them to `span`, check before you replace all lest you end up with `Navspannk` from ‘react-router-dom’. Why are my styles not working? Ah, they are ‘spannkStyles’ now.5
-
The state of web dev is we have to be explicit that a lib DOES NOT depend on jQuery.
Even when it is blindingly obvious that will be a terribly bad idea to do so.
https://github.com/STRML/...11 -
Why the fuck nobody talks about Multi-page apps?! We went from a Web where everything was Multi-page server-rendered, and now everything for Web developers is "Single-page apps".
What about websites who can't do that? Not everything can be a single-page app. Only my uncle's restaurant website, or something which is TRULY a full app. No half choices.
If your website is a multi-page app/portal which actually PRELOADS data, instead of doing 100 fetch to an API within a page that is full of loading bars, well, your life is a pain.
When you want a first contentful paint which isn't a white page, well, your life is a pain.
What are React, Vue, Ember, Angular (let's exclude Svelte and Marko) going to do about Multi-page apps and SSR?
React-router sucks to me. It's performance is weak and it's useful only when you have an SPA with multiple sections which can be treated as pages (e.g. A single SPA divided in tabs).
Server-side rendering is the worst pain ever made by humanity, in React (and prob Vue, I didn't try but I can bet). And even when made easier from libs like Svelte and Marko, I (personally) can't get it to be faster enough compared to a traditional website without a JS framework and with a templating engine.
Anyways, if there's anything that I learnt from React, is to stay away from Next.js. Perfect, beautiful, mess.
All JS frameworks just seem to bloat the code and make it worse and slower, even though they're REALLY helpful.
Why? Why everyone loves them if their downsides are so clear? Why 3 projects out of 3 I made (1 React SSR, 1 Vue, 1 Marko SSR) are and will stay painfully slow and bloated, full of shit, even if in 2020 we should have evolved with the famous three shaking, with the famous lazy loading, etc.?
I am just frustrated.
And let's not even talk about Webpack, Rollup, Lasso, those module bundlers shit which are harder to configure and understand than finding a needle in a haystack.
Lasso was the easiest to configure but I anyways can't understand it. Webpack seems it was made to handle SPAs, as any tool in this freaking world, and not even considering an easy way to integrate multiple bundles for multiple pages (I know it's pretty easy, but with component sharing between pages and big unique bundles Next.js handles it soooo bad it feels like hell).
Am I the only one?
Sorry for the long rant. I just needed to rant right now.17 -
Nightmare morning. Woke up for the fact that my app in app store is crashing on opening. Yesterday submitted improvements to the app (react-native).
Tested locally on simulator and also on real machine by react-natives --variant Release. Worked ok. But now when I build it with xcode and sent it to app store, it's no longer working at all =/.
Im losing users by every minute. Was able to immediately make a hotfix, but apple has not taken any hurry in reviewing it. Also it's not possible to revert previous version in app store, I just have to submit a new version that will be reviewed. I even called them and they promised to hurry but nothing's happened and it's been like 4-5 hours already.
I got so bad luck because usually in review they test the app, but now they didn't, and this time it didn't work at all. And I thought that testing it by react-natives --variant release mode would be enough, but apparently theres something different when you build and archive it with xcode. I feel my app is doomed now, many of the users might abandon it completely =/.
If I learned something it is that always try to test the last modified version of the app. Even if the modification seems small. Don't trust react-natives --variant release for testing an ios app.2 -
How the hell am I meant to get a new job in Edinburgh/Glasgow so I can learn React/Angular/Vue when no-one will hire someone without experience in those frameworks?!
I was in 2 roles back to back and in that time, every single Front End Development role now available in the market requires commercial experience in React/Angular/Vue in order to proceed.
Even the 18k Grad/Junior Development roles require commercial experience in some sort of JS Framework yet I'm certainly not a Grad/Junior.
HOW DOES ANYONE USE IT COMMERCIALLY IF THEY'VE GOT NO EXPERIENCE.
I'm doomed.
For the record, I'm a Front End Developer with 3 Years of experience with personal study experience in React.2 -
Me: *Creates new react project*
Me: *Run project*
Console: found 4999 new errors.
Me: (っ˘0˘ς) I have not written anything yet! WTF is your problem!4 -
could'nt build my react app, didn't understand the error Module not found: Error: Can't resolve '.... app.css'
worked on my macbook, didn't on my ubuntu server, took me 3 days until I realised the css file is named App.css and not app.css
wtf apple, wtf me -
When someone asks me how implement React, Redux and a lot of those stuff on their projects I answer:
If you don't have any idea what it is you might not need them.1 -
Why isn't Vue.js more popular? (it's not rhetoric, I actually don't know)
During the last weeks I've been learning the basics of the more popular JS frameworks and from the ones I saw, Vue seemed like the best option (lightweight, virtual DOM, simple documentation, alternative to React Native). Nonetheless, React & Angular are more widely used by companies and personal projects. Does anyone know why that is?1 -
React Native so far today:
1. need external dependency to load svg
2. react-native link doesn't work as it should
3. metro bundler not updating its cache
I wonder if the list will grow or that's it for today... -
Omfgggggggggggggggggggg
Fuck you typescript.
A whole day wasted working on react native pull to refresh bug, wondering why the fucking hell shit doesn't even appear when u try to pull. And so many other weird shit like touchable opacity not showing up.
Guess what was the problem? Fucking typescript importing shit from react-native-gesture-handler.
Btw I live and breathe typescript. I appreciate typescript everyday but for today fuck you typescript.3 -
Working with Swift & Kotlin again, feels good to work with them, although I did enjoy working with Typescript, but React Native is just not fun to work with ....1
-
If I have to write that web component again just because “well I think this technology will be better” I’m going freak out...
-
Its not a product, but personal opinion working on react for the last 4 years and one thing is for sure Reacts functional components are shit to use compared to the class components. Specifically useEffect. React was never supposed to be written in a functional way when it first launched.20
-
TIL that in iOS, when you select text with double tap, it usually selects one word, but if that word is a part of a full name, it will select the full name. For example, tapping on “react” in “react sucks” will only select “react”, but tapping on “Howard” in “Howard Lovecraft” will select the entire thing.
Now that’s attention to detail. Android will never get this kind of care, pixel or not.13 -
finally picking up React JS. When setting up webpack I fucked up on the last step in the tutorial I was using which wasn't even needed it just made requiring CSS modules not need style!CSS! Infront of the file name.. everything prior was working beautifully and I was ready to start setting up React. after attempting to be more efficient I couldn't even get webpack to run and thus the test project failed to run on local host. Now to re watch bad tutorials that assume you know everything because they're still more detailed than the others I've found. :| ugh
-
Important thing I learned is not to listen to devs who suggest to learn a framework because its pointless
If i ask should i learn react or angular, some will say angular some react, and both have valid arguments why
When i branch to react and ask if i should learn nextjs or nuxtjs the same thing will happen
No matter if the arguments are valid or not people will prefer a framework they have been biased towards
All frameworks have cons and pros there is no such thing as "the one" perfect framework
No matter how framework is good people will always find a reason to take a shit on it
So from now i wont ask IF i should learn framework X, I'll ask for the order in which to learn it
For example i Know i want to learn A for whatever reason, should i first learn framework B or C?
I dont need your subjective opinion to tell me how B or C sucks and i should do D instead of A4 -
Even if he's a younger guy than most other examples, my mention is:
Jordan Walke
He's the inventor of React, which probably changed the way to write (web-)apps for a lot of people and was based on a prototype written in StandardML.
He's also created ReasonML which is not only in many ways a more fitting language to write React, but also a good systems language (props to OCaml and it's unbreakable type system). Many React concepts/patterns have their origins in functional language concepts, including reducers and hooks.3 -
Well AI is made by some developer so why not just swing with the technology. When JavaScript Framework because famous (jQuery, Ionic, React) we started using them like an asshole. Similar way when AI takes over, let's switch to AI.
All I wish is that AI doesn't fuck my girlfriend/wife. I will implement very strict rules.1 -
Was just (once again) nearly run over on a pedestrian crossing. This time by an angry-looking old fart in his pick-up. He probably didn't even see me, and he didn't react in any way when I swinged my fist at him and yelled "Maniac!". These angry-looking old farts in their pick-ups are far too common a sight in this country. Those old dung heads drive in their sleep, not seeing anything, not hearing anything and not caring shit about anything. Stop driving already, go to a retirement home and stay there!3
-
All the JavaScript "thought-leaders" have shitted up the ecosystem so damn much. Everything is so goddamn over-complicated it really took the joy out of programming.
A new dawn of simpler tools will come and all this trash will disappear. And not tools abstracting the garbage underneath. This is the cause of the problems.
Everything you think is gold is shit.
React, Next.js, Webpack, GraphQL, etc, etc.14 -
I realized something. No matter what tech i use to code a project there will always be a dev to take a shit on it
someone will recommend to use redis, after i use redis some other dev will trash me for having such a poor choice and recommend me socket.io
Then if i use socket.io some 3rd dev will trash me cause thats not the right way of building stuff and recommend me kafka
If i use kafka some 4th dev will trash me and say why i dont use angular
If I use angular 5th dev will trash me for not using react
If i use react 6th dev will trash me for not using nextjs
Tired of this bullshit
I'll use whatever tech i need. If i dont know what to use ill ask and take the first suggestion. I'll just build a saas and when it starts earning money ill pay other devs to refactor and scale the hell hole (which wont be cause i write good code following solid principles and not spaghetti). Much simpler solution than wrecking my head with decisions of tech stack8 -
So today my colleague is installing new dependency to our react native project and do something cool with it.
Him: I already push it in new branch and make a pr, would you review and merge it to master.
Me: ok let me try first.
.
.
Me: it is not working, i get this error.
Him: try change these xxx in xcode.
Me: ok, wait.
.
.
Me: now I get this error
Him: hmm... Try 'react-native link xxxx'
Me: ok
.
.
Me: I get same error like first error.
Him: now try 'react-native unlink xxxx'
Me: hmm... Wait.
.
.
Me: I still get same error, what's wrong?
Him: I don't know, it's working in my mechine .
*Me 'git reset - - hard' and try to build again.
**After building
Me: hey it's working after I git reset lol.
Him: nice
Me: let me clone it and try 1 more time.
*after cloning and building
.
.
Me: I still get same error like 1st error hahaha.
Him: so try to 'react-native link xxx' again.
Me: OKkK
.
.
Me: still get same error
Him: try git reset and build again
Me: hmm
.
.
*after git reset and build again
Me: I still get same error. I think the correct steps is :
1. Clone
2. Do something in xcode
3. React native link
4. React native unlink
5. Git reset - - hard
6. Build
I can't stop laughing 😂🤣😂🤣🤣😂🤣😂 -
So basically I am the computer guy in my office. If there is any hardware or software related problem, I am the guy who fix it or try to fix it in my own time.
Little bit of more backstory. Two month ago we got react native project from a client. My boss asked me if I want to do that project. he knew that I don't know react native but I want to learn it. So I said yes. I have worked over 12 hours per day to work on that project while learning react native ( I committed the final version to git today.)
Yesterday there was a meeting in our office about project deadlines and issue with current work and stuff. In that meeting one guy asked (this guy had personal beef with me) in rude way like why I am taking parts of pc and given other people. ( If there is any hardware issue, I use other parts from pc which are not currently in use. So basically a simpe resource allocation.)
I knew it was a targeted questio toward me but before I say anything, All people took his side. (I did all those repair after taking permission from my boss, so he did not take that question seriously.)
I spend lots of time fixing those problem so people work does not stop and this is the thank you I got in return. I did this over one and half year. Right now I am asking my self if I continue the work or not.
Note: I wrote this whole thing to get my anger out of me. Sorry for typos. I am little bit drunk and I am not good with English.2 -
Hm... Apparently I've been doing TDD all along... it's just that I don't save the tests in a seperate project.
I just keep editing Main() to test whatever i'm working on (each class).
Also the NJTransit site is sneaky as ****. It seems the devs know a bit about how to prevent site scraping by checking Headers and Client information...
Took all afternoon to get this test to pass....
it works in Chrome but not in my code... and even after I spoofed all the headers... including GZIP.... it wouldn't work for multiple requests...
I need to create a new WebClient for each request.... no idea how it knows the difference or why it cares... maybe it's a WebClient bug...
And this is only the test app. Originally was supposed to be built in React Native but that has it's own problems...
Books are too old, the examples don't work with the latest...
But I guess this also has a upside... learn TDD and React rather than just React... hopefully can finish this week...
I'm actually on vacation... yea... i still code like a work day... 10AM - 8PM....2 -
!rant
So Today I decided to Learn on React native, something during set up. Decided To clean Node_modules , the file size is 34.45GB
(o.O) WTF ?
I am not a big fan of Node Js or react, Can Someone explain to me why the file is so large?8 -
Does anyone remember BASIC?
10 PRINT "Hello World!"
20 GOTO 10
I learned it when I had my Commodore 64. Recently I've gotten the itch to dive back in the development world. So I'm refreshing my memory on HTML and CSS (yes I know they're not programming languages) then move on to JavaScript and either React or Angular. Hopefully I will be able to contribute more to discussion on here than just lurk.19 -
Hello devs. This happens to be my first rant. And I got a question to start off.
I'm looking for an existing public/open-source React project which is not too hard to understand and has a good folder/file structure and code structure. Something that gives me an idea of how a good production level code and project should be.
Any recommendation is appreciated. Can be your own project too.
Thank you 😊.10 -
This is how I deal with React Native not wanting to upgrade their code from componentWillReceiveProps to getDerivedStateFromProps. 🚀😅6
-
What is the whole hype about Vue? It just feels like angular 1 with vdom, inline styles and a custom file extension.4
-
Stuck between choosing Angualrjs or React for the next project. Have not used React before though.17
-
So subreddits are now app only ? Oh fuck off . Seriously ? Is this the future we are heading towards ? Why use React then if you are not gonna let me use it in the browser.8
-
I really hate the term fullstack developer. Just call it what it really is. Javascript react developer who dabbles in node occasionally.
If you don't have some knowledge of tuning a database, tuning your runtime, handling issues with networks and latency in your code, dealing with issues with message queues, writing abstraction layers for the database, etc. you aren't a backend developer, sorry to say.
Being able to reason about a mean stack running on digital ocean doesn't not make you proficient in the backend.3 -
Being tempted by a job offer as an iOS dev that has full (paid) training. Not a fan of apple but heard swift is a nice language (assuming it is swift).
I've spent the last year and a half learning the react way as my first dev job, not sure whether it's beneficial to keep on this path or diversify. -
http://joshanthony.info/2018/06/...
My first in-depth tutorial, on React. I'd love feedback on the project and my writing style, if anyone is willing!2 -
i fucking hate react and don't understand react
Is it cleaner to have useContext to pipe in override test data for storybook and write an outer context for that code only? Real production code can ignore and not set this.
Can child component onHover update parent's stateful variable to unpause the urql/graphql datafetch in parent data wrapper component. Parent pipes queried data to child component to properly display on hover that kicked process off.14 -
Started a new role as a front end developer working with React, happy that i finaly won't have to work with wordpress anymore, having a great hope that I will learn from the best with my team, and then ... COVID-19 ... I have to work from home
first task, implement a feature on a react front end build with react boilerplate, first time seeing this repo and dispair quickly took over, there is no documentation except for clone and install, the code is a mess, the console is filled with errors and warnings ...
I did what I could, but it was not enought, my n+1 didn't complain but if I was him i'd fire my ass with no regret, now I understood why almost all my collegues are working as a backend devs.
I don't fear being fired, I fear the feeling of being not good, feeling useless, each morning I stare at the code and I become illiterate, I can't even touch a keyboard, now I don't know what to do, fixing this shitty app, trying to build something with react boilerplate and try to understand how the data flow, or continue my endless tutorial hell .1 -
I'm trying to get into react for side projects but my java and backend background in general really make things tough. Let's say I have a few data manipulation functions that I want to extract to a separate service and inject it using react hooks (since that's what everyone is using nowadays apparently). I can see it being much more elegant than props, but all the examples I can find resolve around passing state here and there, not passing actual dependencies like a stateless service. Any ideas how I should solve this?7
-
It sucks that you need to transition to other roles.
Started as front-end dev, now I have to write PL/SQL code. Which I don't like and not confident as NodeJS, Vue, React, Angular4, Java, etc. -
Actually a WordPress developer does both backend and frontend. They should know JS, PHP, react (for Gutenberg) and still some others think they are not programmers.
Next time someone tries to bully me about being a WordPress developer, I will not be quite. Even my friends.3 -
I'd like to hear from developers which prefers Angular to React the reason of said preference.
I want to hear that becasue I like React way more than Angular since I find which is easier to learn (making a form with a React hook is easy while it takes days just to get a grip on Angular forms), it usually takes less code to do things, it doesn't force libraries which may not be necessary for your use case and just makes your bundle bigger (for example most things which are done in NgRx can be done just as easily with regular JS promises without the need of an external tool) and I generally prefer functional programming to OOP.
Said that I want to hear the other side, not to argue but because I want to know cases in which Angular may be a better choice than React to become a better rounded dev.10 -
What the fucking is happening with react? They advice you to use NextJs but that thing is just Vercel trying to force us buy their servers. Are we going back to PHP ? Tightly coupled front-backend.
I used to just build any React/Front app and deploy the bundle on a bucket and let the CDN do the rest.
Now you need to spin up a fucking node server to just serve some fucking html. Wtf are we heading.
They say it's for the SEO, why not fix the SEO problem altogether then ? Plus there are already SEO solution out there for SPA.
I'm very disappointed in YouTubers like Theo that are out there pushing people to use vercel and showing tutorial in dep
Bro all we need is npm fucking fucking build8 -
Rails, React, React-Native, Docker, Kubernetes, Openstack, Jenkins, AWS, Microservices, Realm, MongoDB, PostgresQL, GraphQL (list goes on...), and I'm not even done yet.
6 months was spent learning all of the above because I found a Rails-only monolith on Heroku unsettling. My first batch of containers was just deployed and I couldn't be happier. Love my job.3 -
As an Angular developer, i am thinking switching to React, major companies and websites are using it
React:
Facebook,Twitter Instagram,Dropbox,Aws,New outlook,mongodb cloud, Amazon drive,Udemy, ....
Angularjs
Gcloud, not many more
Angular 2+
???????
Is the switch advisable?6 -
I hate it when an opinion is valued by someone seniority.
Sure, you might not like react, fine, but if your only argument for that is it being built by Facebook, you're just an ass.
Sure, you might not like node, fine, but if your only argument for that is your prejudice towards javascript , you're just an ass.
Normally this guy is pretty nice, but fuck you for talking about shit you don't understand6 -
There is a project: multi step form. It has login form, text field, date, upload. It is written in jQuery, Zend and oracle. I need to rewrite. I can use my familar jQuery, PHP skills. Or I can go for react redux, build API with Zend. The issue is that I only have 2 months. Very basic knowledge of react, redux webpack. So I need to learn and build the project. Should I go for new tech. I am not sure I can reach deadline, as there are many things to learn. Advice? If i use the new tech, how do I learn quickly?5
-
!Rant
I know this is not the place for these questions, but:
1. If we have frameworks like React Native, why going native?
2. Why doesn't Google or Apple support these kinds of frameworks rather investing in developing their own languages (in-case of Swift)
I searched for many articles but need a pro opinion from you guys4 -
!rant
I swear web frameworks are popping up faster than I can catch up, I mean I'm not even done learning react 😭 usually made projects in ASP.NET MVC with just jquery and it just feels like a lot of work to create more layers on the front end as well. Advice needed if you work on both front and back end what js frameworks do you use, and from experience which would you prefer?3 -
I've been learning java back end web since November last year. A month ago I've tried JS/React and have fallen for it. All my back end guys are hating on me now, because, as they say, I'm not "an intellectual" anymore but a just JS pleb 🌩️🌩️
Wrong people to talk to i guess :sigh:18 -
JS scrub doing a course using React. Necessary scripts provided in the course are only available as online .js files, not node packages. Keeps failing no matter how I try importing. Trying to find alternatives, but seems like no-node packages are only remnants of the past.
Get tips like this: "You should take a look at how you can combine js files with built-in modules." -
Here I am at half past midnight with a pencil and a pair of scissors printing grayscale metalsmith js business cards and manually cutting them for the upcoming jsworldconference.
Not pretending it has a chance against the giant amount of sponsoring the likes of Vue and React get, but hey I will have tried!2 -
!rant
I didn't know that working with React will destroy my confidence like this, I know that coding is hard but being tasked to build a front end for a large project with React and use React Boilerplate (which is not for beginners) just a month after starting my first job as a front end developer is nowhere to be the perfect start to one's career.
the quarantine did not help, it made it worse, I have so much fear that I can't even see my code, I even wanted to write some simple side project to retake some confidence but I can't, I want to tell my boss that I can't continue but he's very nice that I don't want to worry him, and here I am having panic attacks and fear, not a fear of being fired, because I am prepared and I deserve it, but fear that I can't code any more, I am not a good developer, but it's the only thing I know.
I had low confidence before but not as much as this time, this time I feel like it's the end of everything, I keep staring at the screen for hours and I can't think straight.
I am lost and I don't know how to handle this, I became a bad father and a bad husband, I don't talk to anyone, not even my kids ...
as always thanks for reading me, I only have this community that understand me.4 -
Would you use react to create something like a static corporate website?
If not, with which framework/ technology would you do it?10 -
When react says "Module Not Found" then you realise that you have to add a period infront of the forward slash 😒
-
continuation of "testing is not needed" series
https://devrant.com/rants/4407958
a second former colleague (which works as backend dev) was seeking frontender, and remembered about the React frontender we both worked with.
I decided to warn him:
> *Giggles* According to his words, front is not like back. Git and testing aren't required there.
I received next replies:
> actually I don't need tests as well
> I did not write them all this time
> I have testers in a team for that, which do the testing for me
> I think I'll need it in cv though.
My comments:
I am trying to imagine their code... architecture, and I am a bit scarried to see how it looks like, are you?3 -
Why are hooks so awful?
What justifies having everyone using React relearn how to do things when hooks do not bring any new features to React?
Why does getting setInterval to work with hooks require a ~3000 word blog post by a maintainer which constantly assures you this IS a step forward?
Is scrolling up and down a class component really so hard that this clusterfuck is worth it?
>:(6 -
$ ng generate component gofuckyourself
I am having a fun time learning Angular. It’s way different from React.
I do like the css scoping a lot. Also it’s strange to not have to deal with state.
I am learning it because I see the job market requiring it as opposed to React.
Any React peeps feel me?3 -
Can't decide whether I like React or not. Hated it in the beginning, then sort of started liking it and even thinking it was great just to fall back to the dislike stage again where I roll my eyes and think it's a messy, crowded pile of shit that breaks with all sorts of good software principles. This has fluctuated up and down for over 3 years.
It's the only language/technology/framework I have had this experience with. Weird.8 -
Not a js expert. I'm trying to learn a new js framework so I'm stuck between angular and react. I'm a Django dev, so I'll be mostly using this framework in my Django apps. Which one should I learn? I'm migrating from jquery so please don't be harsh at me 😅7
-
After many years, I am trying to learn to react and react-native again.
I went to react native and click on get started. I downloaded CRNA and created Hello World. It asked me to download Expo client.
I was like WTF is this expo? So I installed it on my Note 8 and run the app. This is awesome. I don't have to build the whole app. It did not require Android SDK.
I open the expo website and found lots of SNACKS by other people. I can see the live output of many libraries and I loved the whole thing.
Finally, I installed the Expo client on my iPad. There was no scan barcode option. I thought it was weird. I saw login option. So naturally, I log in and wait for it to show in Expo client. Still nothing.
Finally, google about it and found out that due Apple, I can not see other people example on expo anymore.
Why the fuck Apple has to kill something this awesome. I can not express my anger on this. -
Angular - object oriented programming
React - functional programming
---
Now i fucking understand why nextjs does not have any design patterns. No folder structure for it either. Every project is fucking random and you need to learn every fucking project from scratch cause people stuff shit into different folders and file names1 -
The feeling when you debug your code for 2 hours and the bug is not in your code, but in the framework.
You can't render a list if it has more than 10 items.
Thanks React Native and Facebook.7 -
How do you feel about using TypeScript with React? I appreciate the benefits, but, as every snippet of React code everywhere on the web is vanilla JS,I just don't want the cognitive overhead.
Yes, I know TS is JS, but, if I'm not going to use the features, why bother? I'd want to strongly type props, state, etc.
What's the status of TypeScript support in the React ecosystem (eg Router, MUI, etc.)?
I'm kinda hoping Reason will get some traction as the type inference is much better, but, will that happen? Or is that going to fizzle so it's a choice between TS and JS?
Appreciate any thoughts on this---including those from anyone who's in the same boat.
Looking for views on TS in React ecosystem---no need to sell me on TS in general.6 -
You're kidding. You know how React, GraphQl, and Jest are made by facebook. You would think that Jest then would be framework of choice for mocking gql queries and responses for a React app. And you would be wrong. You "can, but-", depending on your implementation - ours being based on official sources - not without contorting and duplicating everything related to the query implementation at which you are barely even testing the app itself. We're using named imports from .gql files, for those familiar.
Don't you hate it when it turns out the guy going "nah tests were too hard, we didn't bother" was right.3 -
I wish there’s a better engine for parsing HTML for relevant content from a URL than mercury for free.
I was making a class project in react and that is not getting it done to my thing. 😑😑 -
I like react, I really do. But one thing I hate about it, is the number of decisions I need to make, I get so fucking confused whether to use redux thunk or sagaas, inline styles or styles components, redux or flux, even to judicially choose whether to use a state management library or not. It just lack of my own experience or don't know what. But this thing sucks2
-
Okay guys now real deal.
I am planning to move to Portugal or something like that.
I think I’m gonna need full time remote work, seems like that one is not happening with me now(part time)
Soo I do react, and all kinds of node selenium, bash stuff . But want to improve on redux and go to react native also.
Long story short shoot the work on me :)11 -
Randomly generated CSS class names make customization of sites much more difficult.
Randomized gibberish CSS class names like "r-acJ79b" are used by some sites like the new Reddit and the new Twitter web apps, which makes it impossible to customize the appearance of the site and to hide "trending" spam. The only way hide annoying and spammy page elements is through user scripts which scan the page for it every second and then hide it. But until then, it appears on screen for a short period.
I once thought this is caused by react JS, but the react JS front end of the video platform "Odysee" does not have randomized CSS class names.10 -
So I'm looking for a tutorial somewhere to manage auth with react.
I have passport local setup with jwt in express, but looking to manage users in the front-end, managing the user state app wide, logging out, protected routes etc.
I've done some searching around but I can't see anything to concrete. Any pointers or articles would be great.
I was thinking of localStorage but not sure how to go about setting that up with react.3 -
Who the fuck thought that in react useState should return an array and not an object. It makes me wanna make a wrapper that would instead return {current, set} = useSaneState('fuck you') because what the fuck does it have to do with arrays. And an object with shit.current would be consistent with useRef.
Also, vue is just superior in naming and coding standards.6 -
I almost looked for every possible source but is not satisfied or not found optimum way or path.
Actually i have to build a netflix clone (not exactly but a video on demand platform for one local client). The tech stack will be React at the frontend and DRF (Django Rest Framework) at the backend.
I know the node will match my purpose at best, but this needs to be done on DRF. How should I return the video, should I return it in bytes, packets and what can sample code look like, how frontend should fetch it. It will really help if you put your insight, in general. Thank you5 -
No Jokes/Rant this time..
All React.js lovers.. follow this blog from one of the creators of React https://overreacted.io
Found it really cool.. even for folks not working on reactjs.
Ignore, if following already!3 -
Why haven't anyone told me about Aurelia before? I've been rewriting an Angularjs app, and tried both angular 2 and react. Not to step on anyones toes, but React isn't that great if you ignore virtual dom, and angular 2 is just.. wrong. The rant? Yet another framework I need to learn.8
-
My computer seems to get more ane more trouble to handle the React part of my project, 16go ram doesn't seem enough to keep the project's reload fluid. (Actually had to hard reboot the computer a few minutes ago because of total freeze)
I don't know if this is because of Material-UI, the project being to big or me not having done something, even though I have my suspicions about MUI. I had to switch to Visual Studio Code (really nice IDE once the basic plugins are installed btw), but dude seems to have hard times too.
Is there a limit to how big a React handled project should be? Am I fucking something up?10 -
Basic knowledge of iOS- en Android development necessary to develop with React Native, Ionic or NativeScript? If so or if not, why?3
-
I know a senior developer that knows quite a bit, im glad, this is how we grow. He has a habbit of wanting to be the main attraction in all conversations, either tlaking louder than others or sticking to a point in a subject he is not correct in to try force his opinion (i dont speak kuch around him because of this exact reason).
Today we talking about react, we have been working together as i am suppose to transition into senior and we are going incremently rewrite the application in react. So learning react was fun as you could imgine. I came from a background already knowing this and being exposed and that is react and react native. For skme reason i let him talk but he doesnt me especiallt knowing im correcr about something because we have the internet to check things. He looks at me and literally goes red in his face when i suggest standards that would make the code easier to read. Less to type and all the small things and showing him old things i worked on to give a base for him to work off and be there when he needs. Allnhe does is complain and i dont know how to tell him he has a way of approaching a situation not the best andni worry for other junior/mid developers that has to work with him because he will make them believe they are wrong and when they arent hust because he wont calm his ego. We are suppose to be in the community all together to build platforms and progress the sector and better the lives of people. Not waste time picking on eachother. We have prefeences abd we can debate that is important as it allows us to doubt and then make us want to learn more. I just wish there was a way to tell him because we all know. Noone would want to work with someone that is suppose to better you in your career and as a person1 -
attempt neater/cleaner implementation, doesn't work
attempt ugly implementation, it works
maybe one day i'll learn how to write good typescript and react
easier to throw the args around than try to figure out the correct syntax to pass a function to a child component, or not have a react hook closest to where it gets used? -
My mind is not stable.
Office work requires - Linux Internals (knowledge on kernel, Device Drivers, Yocto etc) & Networking ( security ) -> CR on C/C++
Office work also requires - Python for tool development
My personal project requires - NodeJs, React
And I also want to appear for Interviews so also require DS & Algorithm
I hope you don't judge me3 -
What happened to the Vue.js docs? Years ago the v2 docs were amazing, simple yet clear and provided detailed information for every API. I picked up v3 after a few years of only using React and the docs are a mess. Guides are not in a logical order, and the API reference is missing a lot of information and forces you to dig through type declarations in the code to figure things out.1
-
Life is to take decisions. Which u prefer
Google vs Shodan vs 🦆 🦆 go
Angular vs vue vs react vs other
Gnome vs unity vs KDE
Atom vs vscode vs sublime or other
iOS vs android vs other
Natives bs ionic vs react native vs xamarin vs flutter
Gmail iCloud or outlook or proton mail
Camel, pascal ,snake case
C# or Java or python
Sql or not sql
Debian , fedora ,linux mint or kali
Server side rendering or client side
Aws vs gcloud vs Azure vs ibm cloud
Firefox vs chrome vs safari
Free without privacy or ads or paid without ads or privacy
Nintendo vs pc vs ps4 or xbox
WhatsApp or telegram or other
Sleep at night or not
Coment your favorite12 -
I have been coding since 2016, am I overthinking applying for jobs because Im not that "current"? (my React experience is not that deep, I have been working on our startup whos stack doesnt use React or any other front-end framework (only simple handlebars templating))
I have built an actual stable working web platform and mobile app through ionic, is this enough to get a decant non-junior job?
I have never actually worked at a company, its been freelancing and startup (we failed, moving on). Am I overthinking how good I need to be to get a job? I like this one local company but I dont want to screw it up, Im sort of delaying applying there because of it7 -
Recruiter contacts me on a software dev jobs platform because my profile looks great.
Job is for a fullstack JS developer and they use React, Node.js and some other stuff I've never touched.
Nowhere on my profile is any mention of React.
I thank him for reaching out and politely decline an interview by stating I have zero experience with React.
He says, oh, he thought I'd be willing to learn React since I know vue.js.
Why do people think learning a new JS framework is easy, and that devs who use a similar framework is willing to learn another one, and that "it's all just JS in the end"?
React is not just JS, it's fucking spaghetti. The React code I've read was cognitively demanding to decipher (or maybe I am low IQ lol), because it's not "just JS". It's a nasty spaghetti of HTML, CSS, and TypeScript.4 -
Not sure if Google is surprised this happens or they really never face issues using Gradle
Edit:
Took 4 minutes to compile a basic flutter app. But it takes 1.3 minutes to compile a native app. So far liking flutter, still hating React Native tho1 -
I've not used linters on sublime text so far. And now struggling to find a good linter for sublime for writing React JS.
And I am not comfortable to move to atom or VSCode.
Can anyone suggest me some good linters?1 -
It's interesting how netscape was one among to start the dotcom bubble, and how the breakage of said bubble gave Douglas Crockford some time to read ECMA script standards, and really drove him to write the 'good parts' and JSLint. Which then lead millions of js frameworks to bloom; then node, react, now flutter; and what not!
Time travellers should be really careful not to step on that netscape fly!4 -
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 FRAMEWORK20 -
Native Android Java/Kotlin I got covered but I need to go multi platform mobile. Your choice, why and why not?...
- React native
- Flutter
- Adobe Air
- phoneGap/Cordova
- Xamarin
- another?12 -
Slacking off on tests for medium size projects. I have one project that I consider a major achievement as of today, the NPM package @lbfalvy/react-await. It has like two tests and it does a _lot_ more than two things.
Don't get me wrong, I test it thoroughly, but not in an automated way.3 -
If html and css are not really considered as programming languages, then how do we call the job? I've 'coded' the design? I've front-end designed the design? I've 'sliced' the design? (last one is sure old fashioned enough to exist..)
p.s. and while front-end devs nowadays are required to have angular, react, etc as their skillset, I feel like html and css are also shifting to be required for designers..1 -
It is amazes how much brain can be wasted with react.
In those 7hours (impressed myself by my bullshit withstanding), it took me 20min to understand a fucking api and how objects relate altogether, 1h to make the tut
and 5+fucking hours to understand how to plug the components.
I did use vue and backbone before and am 5y nodejs user.
seriously react is a bag of shitty magic.
I don't even want to try to read the code source yet, this could be the fatal move...
Oh. and also. people have to stop with jsx, it is so so so wrong. new syntax with new errors just for a fucking syntaxic sugar for saving a pair of parenthesis!!!!
like it matters after having installed 1e2+ MB of dependancies for a SPA of 10 components...
The only thing we miss is a react IDE to support JSX. #wheregoesthefront
And I am not even to the point of data flow and pubsub hells which i will be sure will be gold as well8 -
Say what you will but React JS development is utterly exhausting. Every React project is a totally new stack and there is no consensus in the ecosystem.That is how I feel after having worked on 5 big SPA React JS projects over the course of 5 years.
The structure of these projects was all but similar: most used HOC's, some render props, functions-as-a-child, hooks or rather component lifecycles, some used container-components, some Redux, others sprinkled business logic & state all over, and yet others use a mix of server-side rendering and "hydration"...
I dangerouslySetInnerHTML on LazyExoticComponents, and dared not useEffect on the DO_NOT_TOUCH_OR_YOU_WILL_BE_FIRED root property. Hooks embrace functions, but without sacrificing the practical spirit of React, you see.
I didn't make this up. It's verbatim from the code and the docs.
This is not web development, this is at best a tedious fantasy multiplayer game or at worst, a costly joke.5 -
I dont know if i should learn typescript, i really like how it shows any error if you have done some mistake in the code in realtime. But it seems kinda hard and its not used that much at my office work. Should i start learning now or should i focus on strengthening my react skills for now? I work on react and javascript on daily basis.11
-
I’m so sorry if this is the place for questions. I’m terrified of stack overflow and have been searching for a week for a solution and can’t find one. This is for React.js people.
I was tasked to create a webpage with react. The limitation is, they did not wanna adopt the node.js dependency. I said ok, I’ll figure it out. You can inject react, material UI, and babel with script tags in HTML, then put ur lil components in it. I did that and it works beautifully.
However, now I have to write tests for this. I think it’s actually impossible without a way to render React, so I have to use the browser, or node, right? I convinced my boss to allow me to use a node.js container just for testing, which I thought would make my life easier.
I don’t know how to render this thing with node. It’s just an HTML file that pulls react via script tags, and idk how to serve html with node. Additionally, none of the React testing libraries seem to support testing a system that wasn’t designed to be served with node, at least not easily. My gut tells me that the complication with how things are imported contributes at least a little to this (dependencies pulled via script tags in the HTML file and made available to react through global const variables).
I could be wrong about any of this — im fairly new. But how tf do I go about testing these react components? For reference, if you go to Reacts docs, there’s a section called “add react to a page in one minute” that’s pretty much what I did.20 -
When you've not done anything with react-router for a while and the latest version is so very very different 😫4
-
You know what is awesome. React with Redux. It is such a clean and scalable pattern for building UI. Conceptually not that easy but on once you have it. So much better than any other pattern I have seen.
But what fucks me off is working with other librarys with it not hard just fucking annoying.2 -
update on this
https://devrant.com/rants/1617751/...
My first interview was kinda okay, I think I'm not in the mood to join them as well. They have to create a web app and they are considering Angular and React but they're more favorable to Angular which I haven't used yet.
Second went pretty well as per my expectation, those guys using React, Vue in which I'm more interested and they seemed friendly to me. Instead of stupid questions (tell me about yourself bla bla bla), they asked the only logical question which was more related to work and my experience. In the end, they asked me about my salary expectations and joining period, and I'm feeling positive about it.
Now I've to wait for next week to get a response from both interviews.1 -
I don’t know if I’m fucking stupid but ESLint is so unbelievably hard to setup. Too many fucking plug-ins, configs and rules. All I want is my Airbnb config on my React Typescript project and nothing else. I can’t even fucking get that sorted. Not to mention the hundreds of Medium tutorials that all do things just slightly differently to the point that I can’t mix and match a config.2
-
Why the fuck do consultants / noob types LOVE using fucking props in react components. This app is complex, just make a fucking redux slice and use that. I'm not passing 23904 props to a component to get it to render. God13
-
Today my manager asked me to provide technical skills. I replied with 'spring boot, react...(did not mention java)'.
He replied to me saying 'you know spring boot without java?'
Am I stupid thinking he should understand that already by seeing spring boot?2 -
I have become very fond of React, but the pushback I've experienced when suggesting typescript is crazy.
I think this is the reason why so many enterprise apps are written in Angular. Type safety isn’t a crutch, it's a tool. Plus, interfaces are a dev time construct, and will not bloat the codebase since it doesn’t transpile into js.
But Ts also gives us a lot of other goodies that allow for cleaner design patterns and a better adoption of oop principals.
Also, generics/constructor types, whatever you wanna call it, are your friends. An Array<SomeEntity> or SomeEntity[] will give you peace of mind I’m so many scenarios.
Anyway, I have bitched enough.
Rant over.
Have a wonderful Christmas, everyone.
Ps. This isn’t aimed at anyone in particular, but a the react community as a collective. :)3 -
I'm working with this stupid ass framework that has a bunch of old style React class nonsense as examples (that's not actually that bad, but) ... AND worst of all every code example revolves around this convoluted thing where:
"How you do a thing."
"Make button, then you make a function that calls X, Y, Z and it opens the thing!"
But that's not the way you'd EVER do it because doing the thing inside the framework's components is COMPLETELY DIFFERENT!
I get wanting to dumb down documentation but this is dumbed down to pointlessness! -
I was so excited to learn React Native and I know basics of React too, so I thought it will be fine.
Spent one and half hour watching video and I was happy that I'm almost gonna finish this and last point was Navigator......
Got error its deprecated and have to take another way. I'm still searching how to do it and eventually now I'm not in mood of learning that.... Fml1 -
I asked my co-worker/classmate to integrate a react component into a project "we" worked for the (forced) practicum. I searched and setup the example with him (or rather for him) to check whether it's working as intended.
Note, that we were both not really familiar with react and or node. I had a bit more experience and would have helped him, if he had asked. IF
I asked him regularly how he's progressing and he said he did fine. 3 days later I finished my tasks and wanted to know how far he got.
Status? Non working example project because all he did was commenting out seemingly random lines all over the only file in the example project one had to copy paste from the Readme. -
Apparently we can't stick to a single technology for more than one project. There's always something wrong and something to complain about.
Finally got an understanding of typescript+react, and doing web development. But now we are looking into switching to Flutter or ASP.Net Core. Too many technologies out there for web dev.
Anyone have any negative to say about those to hopefully not switch over and have to learn a new tech?6 -
I just saw this: Choosing between React Native and Flutter
Well fuck both, each has its ups and downs but native is the only thing that keeps mind clear, and I'm happy to do double the work than wasting time fixing dependency shit (RN you little bastard) and having to clone an entire project just to add support for Bearer tokens because it is not yet supported by Google out of the box (Flutter -_-)4 -
Shallow() or To Mount()....shit react tests have been killing me. The issues on github have not been resolved. And our team lead has insisted on them even more. Haha they way I have been ditching them.
-
context: Python Sanic Backend, Bulma Frontend
*this is a direct repost of my rant on my discord*
UGH WHY IS EVERYTHING TOO COMPLICATED FOR NO FUCKING REASON
I JUST NEED AN INTERACTIVE UI WITHOUT EXPLICITLY DOING IT MYSELF WITH TONS OF BOILERPLATE CODE
React - uses JSX
Angular - uses TypeScript
what's next? some weird fucking thing that's not even necessary for basic needs
And why the fuck does react need node.js or some JSX compiler to make things easier?
None of this makes any fucking sense
Why not just declare actual javascript objects and functions and that's fuckin it
I just need regex validation and sometimes, custom validation based on other things
Then when the user changes something a small modal shows up asking to save changes
None of this bullshit
It's deadass simple
I don't need routing
No need for your JSX fuckery
No need for your TypeScript shit
I barely would even fucking use those
REEE
Fuck react, Fuck angular
React would've been the perfect thing for this shit
but NO
they had to make things 100x worse
Fucking bitch
because react has event hooks
I can just listen to the changes
then display the modal and get done with it
All other processing is done in the backend
IT'S THAT SIMPLE REACT
Validation is provided by the backend, Just fucking use regex in the frontend and that's it
IT JUST NEEDS TO DO SIMPLE THINGS
IT DOESN'T TAKE ROCKET SCIENCE TO DO MINIMAL WORK9 -
!question+rant
So, I was call to be phone-interviewed at a company that I kinda liked.
They were looking for a full-stack developer.
I'm more of a back-end but I'm not blind to some front-end things, but I'm not expert to any front-end framework or technology.
I'm pretty good with Java and Python, and have 8+ years of experience.
The thing is, they were looking someone like me BUT also with React and JS knowledge. So it was a bye bye for me.
That made me start thinking: Should I start learning a framework and become a full-stack developer?
Which framework would be a good one to start with?
(I've made a couple of native Android apps, and once I tried to learn React-Native but I couldn't last more than two weeks with it).7 -
So if universal apps are coming to macOS, does that mean we'll be able to use React Native and friends to create native desktop apps and ditch Electron and it's insatiable hunger for memory.
I mean that's cool, but why not just embrace PWA's?2 -
I need little bit help. I am noob in react native.
I am creating a app which show pdf, all pdf are store in a web server.
I want to start downloading all those PDF in background when app start. So user does not have to wait it to download when he/she/it click on it.
Also, I am not good with redux yet. I am still learning it. And this application does not have redux implemented.
So please, can you explain how can I achieve this?7 -
Anyone good with react-native? I need help cause I'm about to lose my shit 😭 not even exaggerating when I say I've cried many times over this.12
-
when I open my name.github.io/projectname it works fine, when I open my name.github.io then i re-open name.github.io/projectname it shows 404 not found component from name.github.io.
I'm using react, I feel like request is handled by name.github.io rather than by CDN, and the problem persist until i clear the browser storage.2 -
So I got hired by a new client as a front end dev and I’m supposed to start a project from scratch. I asked (since it’s a new project) if it makes a difference if I use Angular or React and he said “technically not” but then in the following days he said he wants to use Angular with some lame reasons that’s it’s a full framework etc etc. I used both but obviously prefer React because well I’m not an idiot. Come to figure out he knows nothing about React but has used Angular before. What a FUCKING surprise 👏 👏 👏
Why can’t people decide objectively instead of just sticking with what they know. -
On https://reactjs.org/docs/... it is declared that useEffect runs after render is done.
However... if you put into useEffect an expensive calculation or operation e.g. "add +1 to x billion times", it will get stuck after updating the data, but before the re-render is done.
This leads to inconsistency between the DOM and the state which I believe is a foundational point of react. Moreover, the statement that "useEffect runs after render" is false.
See also: https://stackoverflow.com/questions...
The solution is to add a timeout to that expensive operation, e.g. 50 ms so the re-render can finish itself.
The integrity of my belief in react has received a shrapnel today. Argh :D Guys, how this can be? It seems that useEffect is not being run after re-render.13 -
I'm looking for some Remote work to do as freelance or "startup", low pay is alright if there is not too much pressure. I'm a Front end developer who's trying to actually apply some of my React knowledge, maybe someone can take me "under his/her wing" :) , HTML, CSS and Javascript (jQuery) are no problem. If anyone has any pointers or recommendations, I'd appreciate it. Thanks2
-
Is there anything like React Context or Unix envvars in any functional language?
Not global mutable state, but variables with a global identity that I can set to a value for the duration of a function call to influence the behavior of all deeply nested functions that reference the same variable without having to acknowledge them.13 -
Never got why react and all those js frameworks are so popular - css and jquery will load faster and do whatever you want them to not to mention all the jquery plugins you can use for free from fancy box to owl carousel. Sometimes i feel techies like something just because its new4
-
Today I found out that Smartsheet is built with React. Now I’m trying not to tell my coworkers who hate Smartsheet about it. I’ve given React enough bad press around here just by using it poorly... 😂😂3
-
Asking for a friend....
New job, fairly new to web development, very new to JS. I am failing miserable at my job can’t complete tickets which are mostly bug fixers created by testers. So I am debugging code that I didn’t write on a tech stack I do not know (ampersand, q, radio, lodash, react, etc)
Do I try to learn the language better?
or
Focus on learning debugging with dev tools and getting better at using the webstorm IDE.7 -
So I'm not sure what I should learn next. Developers love vue more than react. But I prefer to work remotely and I lost the count of how many job ads require React js experience. Every employer wants react. Would you still suggest to learn vuejs despite this? Right now I know javascript and I abuse jquery (front end developer here)2
-
!rant
Got a question since I've been working with ancient web technologies for the most part.
How should you handle web request authorization in a React app + Rest API?
Should you create a custom service returning to react app what the user authenticated with a token has access to and create GUI based on that kind of single pre other components response?
Should you just create the react app with components handling the requests and render based on access granted/denied from specific requests?
Or something else altogether? The app will be huge since It's a rewrite off already existing service with 2500 entities and a lot of different access levels and object ownerships. Some pages could easily reach double digits requests if done with per object authorization so I'm not quite sure how to proceed and would prefer not to fuck it up from the get go and everyone on the team has little to no experience with seperated frontend/backend logic.4 -
Ugh. Been working on a huge React component that's now dependant on another co-workers PR, and had this one open for like a week. Go to merge and one of the fucking useless reviewers decides that *now* is the best time to flag everything wrong with my code!
I get it, it's good feedback, but uh... Could you not have done this a FUCKING WEEK AGO instead of RIGHT BEFORE I GO TO MERGE?!
Prick.2 -
I don't think it's still a valid years of experience of react native/flutter thing when they're job posting.
"Must have 4 years experience with react native/flutter"
I'll be seeing "I'm sorry, but you did not have 4 years of experience in flutter"3 -
@dfox is it a known issue to have crashes on iOS when visiting the notifications tab?
If not here’s what I can gather: When opening the notifications menu, app will crash after the devRant logo wobbles 3-4 times. After reopening the app and repeating the process about 3-5 times, the app will load into the notifications menu. However, when tapping on any individual notification, it will often crash after the same 3-4 wobbles of the devRant logo.
Now, I’m not a mobile developer (Nor a react developer, if you guys are using react) but here’s some things that I would think might cause this:
- An unhandled exception?
- If you use multiple server instances, they may be out of sync?
Not sure what it could be tbh. But I hope this helps, keep up the great work!7 -
Somehow mocking xhr requests (?) for Axios is really hard to make it work. I use React Cosmos as I'm re-doing the frontend of this already running in production and works great, but when my component communicates with the backend it breaks and I'm unable to test the full behavior.
Then, it occurred to me that trying to mock Axios may not be the best. So I came with this scheme where I would have a configuration variable with a default value and change that when I need to work with React Cosmos, which in turn changes the behavior of `/auth` to return a valid JWT in response to a GET, put an Axios interceptor in my outermost Cosmos decorator and BAM! suddenly was able to develop and test my React components closer to how they would work in production.
It surprises me how simple this endeavor was, and because everything runs orchestrated by docker compose things run smoother.
(this is not an excuse to not to learn how to deal with the mocking issues of Axios, after all I wont have a working backend every time I work in some frontend application)5 -
Where can I find those types of "homework assignments" where let's say a company sends you a sample project and asks you to add few features where in that way you learn new technology in a practical way?
I know there are some public "homework assignments" projects from Wix where you're given a sample project that uses let's say react framework and typescript where you have to learn react and add features and send it.
These projects IMO are the best way to learn new technologies fast instead of going through the documentation and figuring wth are they talking about before you realize the full potential.
Are there any of those "awesome lists" in GitHub or something? No I'm not talking about "algorithms and data structures" type of thing, I'm talking real practical samples that I can learn from and extend it.1 -
Could someone point out how much a React developer can make per week in Indian? Let’s say within 3 years experience. Longer than that seems not very realistic 🤔5
-
I was reviewing an Angular (remember this) project where I work to find any possibilities to optimize the performance of app. For a moment an idea came to me to look and analyze package.json and see if there is any package listed there but it's not being used in the application.
...aaaandd there were fucking 32 unused packages. 32 packages that have been installed but are not used anywhere in the application. 32!!!!!
And you know what the best part is. 2 of them were react packages. I mean, literally, their name was react-bllabllablla- component, and when I visited npmjs website, their description was react component that does bllabllablla. It's fucking react....... It's in the name, it's in the description. Is my company giving jobs to fucking blind developers or what? I'm going crazy!5 -
I'm moving my React development to Linux VM as something is messed up in Windows npm...
I would like an IDE somewhat similar in features to Webstorm.
What's a good one? Needs to be GUI, not vim, don't feel like going thru the learning curve.20 -
If you don't react to this post
You may not be as Swift as I thought
But flutter wherever you like
It's not like I don't c where's that would be
C it's a plus plus situation.
Git it in your head
You should checkout your master now
who knows what sin you committed.2 -
That moment when the 'react-native init' project does not meet the widely known best practice 'airbnb es lint' code standards.1
-
difficulty in reproducing bug behavior
think i found a solution to prevent the infinite requests being sent by a react component who's code keeps getting rerun by react's scheduler.development.js
i have no fucking clue what's going on, on top of not having any foundation in react3 -
Hey guys. I have been thinking about learning to code to Android using a native language, but I am not sure it would be worth it, since I already know React Native...
What do you guys think ? Should a guy that already develops with React Native learn native development ?4 -
!dev
Assuming your office is not against workplace dating, how would you feel/react if a colleague asks you to a date on Slack?
Scenario 1: you guys work in the same team.
Scenario 2: you guys work in totally different teams.11 -
Anyone know of tutorials which use...unconventional project premises? Usually you see To-do apps, sample blogs, and other such generic offerings. Not that those are bad, but I'm interested in finding more outlandish, unconventional examples. Like, say, developing a mock GUI for a spacefaring vessel.
I'm personally interested in examples pertaining to React, VueJS, and Laravel, but if it fits the outlandish and unusual criteria I'd love to see it all the same!3 -
Not a rant, but a question: I'm currently learning to develop for the web through freecodecamp. They decided some time ago to change their curriculum from Angular to React, kinda moving away from the MEAN set of technologies. Now that Angular 2 is out and looking good, I'm not sure if I should stick to their curriculum or learn it in place of React. What do you guys think?5
-
Happy Monday! (Not)
I have experience with Angular. I think it's nifty.
Angular || React || Ember || Kendo?
Edit: what is your favourite, and why?2 -
Any React (native) devs in here? What do you think about issues mentioned in this podcast?
I love JavaScript – Software Engineering Daily | React Native at Airbnb with Gabriel Peal, let's play it!
https://podbean.com/media/share/...1 -
I need just a bit of advice.
I am working with node.js and React and mongoDb
I just want that please take a look at my schema architecture (Specially for address) for profile and suggest me which is better
Approach 1 :
https://paste.centos.org/view/...
The things that scared me with this approach. I tried this also But it become unnecessary headaches to insert address and then query address as it is nested schema .
Also if you check this out
https://stackoverflow.com/questions...
[Answer by Konstantin Smolyanin (Long Version))]
One must not considered nested state in react.
Approach 2
https://paste.centos.org/view/...
I can store address into another collection
Also is there any reference sites where I can learn about schema architecture or database design with practical scenarios.
Thanks for reading out.4 -
Okay so I’ve decided to learn React with TypeScript. I’m a backend dev and doing .net core. I know with React people use JSX. But it looks like typescript is becoming the norm. Also hear redux is outdated and the hot new thing is hooks. Lol. Don’t know man. Is this a good place to start? I’m gonna learn a little but of typescript, the. Jump to React. Not gonna do JSX.1
-
Most JS/TS integrations are more customizable if they are used with React, but not Angular. Why is that? Framework popularity?4
-
Anyone free and willing to help me with a react code review?
I’m stuck somewhere and not sure where i went wrong12 -
Hello chat, its been a long week with no progress, i have four problems right now.
1 node js repl cant recognize <> in js, and i cant find a fix for that anywhere on the internet, is there a way to convert html tags in js to smooth brackets code?
2 node js repl dosnt recognize codes like import react from react, and i have to do an async function load, and i dont know y or how to fix it.
3 i dont know how to write import exg.csv into an async function load, its usually something like “import react from react” to “async function load(){let react=await import (‘react’);}”, and i dont know how to do this.
4 i tried to install materials.ui using npm into a folder called materialsui in modules in node, it deleted all the other modules in module folder, installed, and then left the materialsui folder empty. I complained and i dont know how to get it to not do that.
5 how do i fix out of memory errors?8 -
Task: Research how to refector our grid component to be usable with Redux
Result: The next sprint will be used to replace Angular 5 by React
what happend? Not that I am not happy with the decision but this was a quite unexpected result.3 -
We are building an application using react and redux and now they need the JavaScript profile of the app. Can some one suggest me the guide or docs for understanding flame graphs in Chrome. I searched but things were not clear in the official chrome docs.
-
Anybody here work with Firebase before?
I have a web app (react) that writes to a Firestore DB and a mobile app (react-native) that reads from the DB. As of right now, in my Firebase console I have the project set up as a web app project. Is this ok even though I’m reading the DB through a mobile app? Let me know if I’m not clear at all. Thanks!5 -
Not even in CS or programming related courses, but got called to work as junior react native.
Fucking pumped.
Any one might recommend me a piece of hardware to develop on? What's the most ideal?4 -
What's the worst part about testing React components? Using the equivalent of fucking stone tools to do your component integration tests! We got errors with no context and errors with no stack trace, just spewing out bullshit! A sample:
The classic "Can't access .root on unmounted test renderer"
The unforgettable and ALWAYS visible "Warning: An update to YourShittyComponent inside a test was not wrapped in act(...)."
We do love it! -
I know angular but not react or nextjs. Should i learn nextjs or react first? Since nextjs uses react and adds additional features13
-
I've been trying to understand why my browser does not set the cookies I'm getting from my login api for the last 4 hours and I'm losing my mind, pls help. My frontend is a create-react-app on localhost:8888 and my api is a django rest framework on localhost:8000. I'm using fetch() for all the communication to the api11
-
What can I build on a weekend which I can add in my portfolio and also learn golang. I am a web developer with sound knowledge of react, vue, node, django. I am learning golang.
PS - please suggest the project even if the project is not is golang. I want to improve my current skills also.6 -
Guys, I'm refactoring a server code from es5 to es6 and I would like to know how to get es6 errors like when I'm working with React. I have installed babel, and I can compile es6 code but I get errors that target the es5 (compiled) code so it's not easy to find the bug sources5
-
I love JS but I hate JS Frameworks. All of them, but react by passion. I used a bit vue with Laravel but meh... Angular i did not tried.7
-
I would like to learn how to make a mobile app, but I do not know what to choose. Some say java, some say kotlin, then some react native and some flutter. I just wanted to ask for advice. And btw Laravel, Js, Jquery, Ajax and Cordova Apache are all I know so far.6
-
Hi guys, If you are front end dev (especially react dev) please read this and share your thoughts.
I recently started with react.js. But I didn't like the idea of nesting components. I know this is too early to talk about it. I'm not halfway through tutorials. But I'm loosing motivation to learn react.js
This never happened to me. I learned few frameworks in past. Django and codeigniter. They follow MVC/MVT architecture. And writing code in it looks cleaner and simpler.
In react JSX is confusing at first. You have to read same line twice or thrice to understand. I'm not saying JSX is bad, but it's not readable enough.
In early lessons I learnt that in react everything is component. And every component comes under one root component. Don't you guys think this well get messy for large application. You are dealing with number of nested components from one file into another.
I'm not against react. But the way react is forcing you to write code, is not something I enjoy. Let me know your thoughts. Maybe I'll get some kinda booster to continue react.1 -
Svelte is great, and React is the worst thing to happen to JavaScript.
I mean, seriously, just to make one app you have to have this massive React project, as well as a runtime. Svelte compiles it into a small bundle that's not too large with *no runtime*!
React, Bootstrap and Express have spawned a new wave of "Braindead JavaScript Developers™" that are beginning to become inescapable; it sucks.6 -
Why When I use devRant API, it works perfectly on insomnia but not in Postman !!
Did anyone faced this?
I wrote js client (React Native) and it's giving same results of Postman3 -
Can a React.JS expert help me to understand something?
In short, I would like to know what are the main differences between react version 15.6 and 17, in terms of browser issues, and component compatibility?
We have a legacy code base that is in version 15.6 and the team wants to upgrade it and I am attempting to argue with my dumb CTO to upgrade to version 17. However, I’m not versed in react, I'm just a PO and the CTO doesn't know anything but for some odd reason is adamant about staying on an older version. The developers gave me their opinion but I'm interested in an outside opinion.5 -
I'm trying to land a job that uses react on the front end, but I have no experience with it on the job. I have used it in spare time for other (unpublishable) projects.
Any ideas as to what could be good showcase projects that display my familiarity with React that do not require a year to finish?5 -
Hey!
Would you recommend React Native, or Electron for a not really experienced programmer?
I am just starting with JavaScript, and these two tools are the most fascinating to me. :)
I have been learning C# in school, but mostly had to teach myself in the past year.
Anyway, thank you, if you answer, it is really nice on devRant, and it's my first developer community to be part of! :D
Sorry for the broken english - not my primary language.6 -
Hi guys I do have this problem while learning and I need an advice from y'all...take python it was created with c if I'm correct, and it has alot of applications very good language, but I do think y shd I learn python why not C ,, even using React I feel like Facebook developed it y can't I learn from the source directly?.jst confused 🤔15
-
Why NOT much Solidity Blockchain Jobs out there?
Just a quick question , I see a lot of people claiming to teach blockchain development by teaching solidity , React and making full stack Dapps with web3. ( thats it ) Now there are other articles and stuff that you python and node.js as well to teach blockchain. But for now I am calling out the major tutorials/yTube channels etc. [ wont be taking names , am sorry ]
But when you go out in the job market. there is simply NOT enough jobs under this area.
yes there are jobs of blockchain dev, but then they have a huge part of them including Python/node.js/java.
So what should I draw out a conclusion , u simply cannot be a blockchain developer without being a full stack MERN/Python-React/Java-React. developer2 -
I'd like to follow along with some react tutorials, but pretty much all I'm finding are ones that either just have blocks of code (with little to no explanation) to copy/paste or just a link to github.
Do any of you know of any good, well explained tutorials I can follow along to that actually explain what they're doing (and actually end with a sample project, so not just theory).2 -
NPM version : 10
React-Native Library : react-native-get-music-files
Installation :
npm i --save react-native-get-music-files
rnpm link
Things I Have Already Tried :
rnpm link react-native-get-music-files
react-native link
npm install
react-native run-android
REINSTALLING
MAKING A NEW PROJECT
Details :
Its documentation says add import com.reactlibrary.RNReatNativeGetMusicFilesPackage; but when automatically linking , it adds com.cinder72.musicfiles.RNReactNativeGetMusicFilesPackage;
Manually it is showing com.reactlibrary.RNReatN... is not found.
Automatically everything is working fine.
Error :
In the react-native-get-music-files/index.js
import { NativeModules, Platform } from 'react-native';
const { RNReactNativeGetMusicFiles } = NativeModules;
const MusicFiles = {
getAll(options){
return new Promise((resolve, reject) => {
if(Platform.OS === "android"){
RNReactNativeGetMusicFiles.getAll(options,(tracks) => {
resolve(tracks);
},(error) => {
resolve(error);
});
}else{
RNReactNativeGetMusicFiles.getAll(options, (tracks) => {
if(tracks.length > 0){
resolve(tracks);
}else{
resolve("Error, you don't have any tracks");
}
});
}
});
}
}
export default MusicFiles;
It says RNReactNativeGetMusic files is undefined.
I tried console log NATIVEMODULES and it shows nothing as RNReactNativeGetMusic or anything similar.2 -
Having trouble getting CSS to apply to a table in react. Thought I'd ask here. You guys are probably better than SO. Please and thank you
https://stackoverflow.com/questions...7 -
I was approached by some guy on a project and I need your help figuring out how to go about this.
the project is basically a website where school owners who are not tech savvy can input necessary details about their school and it spins up a site from an existing website template built in react for them.
an extra complexity will be creating custom domain names for each site. will this also be possible ?
I've not done something like this before and I dont know the word for it so making a Google search has been quite hard
my stack is javascript MERN stack.1 -
Been struggling for the past week to get a feature working in my personal project (which is the absolute core feature), and was just about ready to give up completely.
Quickly decided to see if it would work in Angular, and after a few tweaks from the default template it's working. Guess I'm not switching to React after all, even I did enjoy working with JSX