It sucks and it's worse when that happens even before landing into a job. What if you think React should be ended already, it's a clear lose engineering wise. Yet industry can't get of out "hiring reasons", so the CTO's decision is already bad for me before any further conflict.
This is taken out of context, but why would one think React should be ended? Experience has shown that every JS framework will be phased out eventually, so why not ride on each wave as long as the available developers pool is the deepest?
Because we believe in technology advancement. When a better tech has shown up, we should ditch the inferior ones. Well, this is very normal thing to do, most of industry does this. Riding horse may be a good sport, but we already moved on.