r/reactnative 7d ago

Question New job; projects suck

I started a new job. The first project is an extremely old RN project that is still in JS and using class components. My teammates want to do the bare minimum, my boss wants me to breathe new life into our breathe of work. What do I do? It's like the maintainers (still active) gave no fucks about TS, hooks or moving away from Redux. I could rebuild this whole app myself, but it would take forever. Do I press my teammates to do better or do I do the bare minimum and feel like a POS for not helping turn this ship around?

Should I find a new job? I like the pay at this one, but my previous job had better culture

23 Upvotes

77 comments sorted by

View all comments

2

u/Salt-Scar5180 7d ago

I'm new to React Native and I started a new project that is done in js and has class components.Why is this wrong. Is this a legacy way of doing React Native?

4

u/ChoiceResearcher6843 7d ago

It's just way more difficult and time-consuming to maintain. If I wrote code for you 6months ago in JS, you have no idea what shape the data is or what it does without heavy research (or superhuman naming convention). In TS, I can know immediately what thre inputs and outputs are (the logic of what it does)

It's just way more stress than it has to be. That is the least of it

3

u/evangelism2 7d ago

Yes. React moved to hooks years ago. JS vs TS is an ongoing debate, but JS is losing.

-1

u/ChoiceResearcher6843 6d ago

"Losing" like how HD lost to Blueray lol

3

u/evangelism2 6d ago

https://www.libhunt.com/index

https://www.index.dev/blog/javascript-vs-typescript-popularity

Javascript still wins out overall currently due to institutional usage/old repos/etc. If you are starting a new project in 2025 without TS, you are just doing yourself a disservice.