I work at a company that will likely IPO in 2022. After working there several years I've been feeling restless, thinking about moving on. However I'm wondering if it makes sense to hang around until the IPO.
I don't mean in a direct financial sense - more whether your employer's IPO led to interesting opportunities, gave you credibility, was really fun, or other positive side-effects.
Other than that, I don't think whether you stayed through IPO makes a big difference on your CV.
For me personally, there wasn't that noticeable of a difference in terms of career trajectory - my entire role is about creating efficiencies and I feel that my career would have progressed as it did regardless of IPO - but I saw other teams being negatively impacted. Many people were laid off in 2019 as a result of efficiency seeking initiatives from the leadership team, and others left as the company shed unprofitable verticals (e-mobility, and more recently self driving and aviation), and there were numerous structural changes internally as well.
In terms of career, IMHO the changes brought a lot of incidental opportunities to grow in terms of breadth of technical knowledge, but in a go-get-them-yourself sort of way, not so much mandated from the top.
In this day and age of marketing (especially for developers) it does look good on a resume to say you were an early employee at X company and were instrumental to its growth allowing it to IPO.
It did give me a brand name to reference at the time, but that fades quickly as you move forward. It helped for a short time in people recognizing the name and success so gave me maybe a slight leg up as we were known for having top talent. But outside of that, unless you can point to it and say you had some larger role then an IC role I don't think it will help you much. Director and above levels I feel it can make a change for your path as you'll be viewed as part of the "leadership" team that took the company public.