Does stack/career change lead to decrease in salary?
Hey folks , I've been in software was almost 5 years with 4 years experience in React Native (was a lead react native dev in previous job) , around 10 months native Android (Java). I've also worked on the backend (mostly nodejs, postgres stuff, integrating with payment gateways, queues - worked as a fullstack dev in fintech mostly in the FASTag space for a big private sector bank) with basic exposure to AWS (ec2 , Lambada etc) I am now done with JS and have taken a career break to explore new technologies , get better at DSA and become a better programmer. I am thinking of learning Swift for iOS as I love working on mobile apps and also started learning golang as I always wanted to learn a more versatile programming language that allows me to do low level stuff and seems like golang is a good stepping stone in that direction.
Coming to the point and the main question: Does changing stacks eg from react native to Swift for iOS or starting as Golang dev lead to a decrease in salary? Keeping in mind I don't have prior experience in golang at all . But I am guessing if I had to switch to native iOS in Swift there wouldn't be much of a salary drop?
Also I would appreciate if you'll had any tips for navigating salary negotiation in such a case . Should I settle for a lower salary and build my experience? Or demand a higher salary then my previous job ?