Reactor and method for continuous polymerization