swapping in minified react