Stocks are a major part of compensation for tech companies. Looking at just salary is an incomplete picture and also isn't fair for job-seekers. Fwiw this page has compensation data with break down by RSU, bonus, etc: https://www.levels.fyi/comp.html