ctrlplusb / react-universally

A starter kit for universal react applications.
MIT License
1.7k stars 244 forks source link

(next) Fix raf polyfill and move all `universal` polyfills in sared dir #516

Closed SleepWalker closed 6 years ago

SleepWalker commented 6 years ago

In #510 there was added raf polyfill, but it was not applied. This PR invokes the polyfill function to fix warning from react.

Another one change: I've moved all the polyfills, that are shared for all environments int shared dir. I can move that file somewhere else. The main message is that we should not copy-paste polyfill functions throughout the project.