How do microservices replace web frameworks at all? Every microservice I've seen uses some web framework (django, flask, asp .net core, spring boot, etc).
I don't think microservices replace frameworks. Building a microservice is no different from building a monolith. The difference is in how you architect the system, not how you implement the components