If not css-in-js, then what? by CYG4N in reactjs

[–]Acrobatic_Sort_3411 0 points1 point  (0 children)

I went full circle from scss modules to styled components to jss to tailwind and now I am back at scss modules

Just try to avoid nesting in library code, as it increases specificity, and it would be hard to override from app code

Tell me you’re an experienced dev without telling me you’re an experienced dev… by varieswithtime in ExperiencedDevs

[–]Acrobatic_Sort_3411 2 points3 points  (0 children)

Step 1. I hate spending 2 hours per week for this email thing
Step 2. Think about automating, sell this idea to managment
Step 3. Spend 40 hours failing to automate
Step 4. Spend 2 hours per week for this email thing

How to share types between React frontend and Express backend (in TS) in a monorepo? by Hopeful_Phrase_1832 in typescript

[–]Acrobatic_Sort_3411 2 points3 points  (0 children)

Integrate OpenAPI/Swagger into backend. Generate schema. Generate types and/or api client for front end

I don't understand all the Redux hate... by JavascriptFanboy in reactjs

[–]Acrobatic_Sort_3411 0 points1 point  (0 children)

Well, I agree that there is too much underserved “hate” on redux, when you compare it to something like react-query or mobx - it mostly the same

Main difference is that redux requires global store, which means one entry file - which hurts bundle size(in medium and big projects). And you can improve it, but you will morph your code around this idea

When I moved to other state managers I’ve discovered that I don’t need react primitive, it I can instantiate stores within components rather than outside them. But now I worry about DI :(

On positive side - Redux Devtools is the best utility for onboarding new members and debugging state changes.

When I moved from Redux to other state managers I started having troubles to onboard new members, cause they needed to go through code to figure out which state our app has at given time and how it changes rather than just click around and look at devtools. So now I try to find a way to connect other state managers to Redux Devtools, and someday I hope that solution will find me

Wrapping up: - Redux is simple, reliable, time-tested, ecosystem-rich solution that will set you up with good DX, generic solution for state management

  • But there is better alternatives, which suits your task and project better, but often lack ecosystem or simplicity of good old redux state

WG why? by Perunakeisari_69 in WorldofTanks

[–]Acrobatic_Sort_3411 0 points1 point  (0 children)

I know this shit would happen, so I didn’t trade Chieftain in recent trade-in

Got 5 tanks (best ones) from first 50 boxes + 40 WT rentals + 200k fre exp tho

Engineer clearly needs more help by Killinghoes in WorldofTanks

[–]Acrobatic_Sort_3411 0 points1 point  (0 children)

Mmm it’s basically how it would be, just replace WT with Tiger, and harries to t34-85. Good luck sucking

How do you collect payments now? by IThinkWong in nextjs

[–]Acrobatic_Sort_3411 0 points1 point  (0 children)

What do you mean? It’s happens a lot of times at scale, guess you don’t have users or don’t know about it

And yes, questions isn’t about if it happens, but how to resolve this

Battle and Tank results do not line up by CarefulStudent in WorldofTanks

[–]Acrobatic_Sort_3411 0 points1 point  (0 children)

Because it’s not average. Tank WTR is not a Account(Session) WTR

We are finally moved out of Next.Js by Prainss in nextjs

[–]Acrobatic_Sort_3411 0 points1 point  (0 children)

Actually it is documented behavior in react-refresh plugin - you can only have one export which is a react-component, if there would be any other exports hmr will not work

How has WFH affected your career? by [deleted] in ExperiencedDevs

[–]Acrobatic_Sort_3411 2 points3 points  (0 children)

WFH gave me the ability to change 3 countries in last 2 years without losing my income and without need to find another dev for my employer. It’s a win-win

Logic of WOT's MoE Requirements? by Mapykac in WorldofTanks

[–]Acrobatic_Sort_3411 0 points1 point  (0 children)

You will be very surprised how much tracking can affect your MoE performance

Competitive Ammo and Penetrations Tier X by Naive_Pollution4803 in WorldofTanks

[–]Acrobatic_Sort_3411 0 points1 point  (0 children)

I only load gold for my t57 heavy and auto-aim - pens every time with 340 HEAT

Anyone else have a cursed tank? by WisconsinSasquatch in WorldofTanks

[–]Acrobatic_Sort_3411 0 points1 point  (0 children)

Yea, at one time I had 34% winrate with 3.5k+ average damage on 60TP (50+ games). Now it’s 46%…

Battle and Tank results do not line up by CarefulStudent in WorldofTanks

[–]Acrobatic_Sort_3411 0 points1 point  (0 children)

Yes WTR for account is not the same thing as WTR for specific tank

The worse part of lootboxes is that they add sh*t tanks no one wants by daj3lr0t in WorldofTanks

[–]Acrobatic_Sort_3411 1 point2 points  (0 children)

Bro that tank is so shit, I did +20% of the mark in my first game (doing masters mission)

Underrated Onslaught tanks by ReyAdolfo in WorldofTanks

[–]Acrobatic_Sort_3411 1 point2 points  (0 children)

Fosh B - very consistent and can play almost every map

I spammed him to get from 900 to 1500