Optimized react-animate+react-css example by caching the result of fromCSS. Thanks @Vjeux