I need it in order to use middleware.crossOrgin .

What kind of side-effects?