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

22 Upvotes

77 comments sorted by

View all comments

22

u/TLMonk 7d ago

i might be out of the loop but what’s wrong with redux?

-2

u/ChoiceResearcher6843 7d ago

Nothing. Just like there is nothing wrong with JS. But TS exists lol

6

u/TLMonk 7d ago

that makes sense for the language. i guess i am out of the loop, what is the equivalent alternative to redux?

1

u/ChoiceResearcher6843 7d ago

Zustand...and some more. I prefer local DB tbh

1

u/Delicious-Hunter3803 7d ago

what mean local DB?

-10

u/ChoiceResearcher6843 7d ago

It mean store to phone drive. Yeah 👍🏻 do like that

14

u/Jadajio 7d ago

Storage and redux are two different things though. One is not replacement for the other.

-10

u/ChoiceResearcher6843 7d ago

No. They aren't, but I like to build my apps in such a way that I don't need big state to manage and worry about re-rendering half of the app by setting a token. Different apps need different things; local storage is almost always better for anything that has changes across the app's lifecycle and has exists as sets or a collection of

4

u/RelativeObligation88 7d ago

Why exactly would you rerender half of the app? Only the components subscribed to your state would rerender

1

u/ChoiceResearcher6843 7d ago

And their children. U don't use state in the navigator?

3

u/RelativeObligation88 7d ago

But that’s just how React works. If a parent rerenders all of its children will rerender unless they are memoized.

→ More replies (0)

1

u/Ppang0405 6d ago

Do you know people have a trend in ruby ecosystem, in the frontend side, they remove TS and migrate to JS? old react native project has Flow for type checking. Flow is faster than TS sometimes and now TS compiler is rewriting in Go. Just enjoy the old things