You're describing switching to a different language. There's plenty of that going around no matter what language you're using. But I don't recall once seeing anyone decide to rewrite something in the equivalent of a different C "framework". There's certainly a lot less of that outside of frontend development.
That's because if you want to write for the Web Platform, you haven't been able to switch languages; you were largely stuck with JavaScript for decades.
Contrast that to writing for the Windows Platform--you could easily choose one of many languages.
Observed "in the wild":
C » C++
C++ » C++ w. STL
C++ » C#
VB » VB.NET
WinForms » WPF » Silverlight » UWP
Edited to add:
Java EJBs » Java Servlets » Java Spring
C++ » Java » C#