even though React has been my bread and butter for the last 5-6 years—and will continue to pay my bills for a long time—i wouldn't recommend starting a greenfield frontend project with in 2024.
the framework now has too many bugs, too much legacy, too many fundamental design flaws (e.g hooks), and is growing in a direction that nobody except Vercel cares about. the core team doesn't care about real-world scenarios, and is focused on building a product that's too clever for its own good.
i don't know what the alternative to React is, yet. but there's one thing i can say confidently: invest in HTML, vanilla JS, Web Components, and plain old CSS. they will outlast every frontend framework in existence.