| @@ -1,8 +1,12 @@ | ||
| 1 | 1 | if (!global._babelPolyfill) { require('babel-polyfill'); } |
| 2 | 2 | import 'whatwg-fetch'; |
| 3 | 3 | |
| 4 | +// Shared vendors. | |
| 5 | +import ReactDOM from 'react-dom'; | |
| 6 | +import React from 'react'; | |
| 7 | + | |
| 4 | 8 | // Global variables. |
| 5 | 9 | import { createHooks } from '@wordpress/hooks'; |
| 6 | 10 | let hooks = createHooks(); |
| 7 | 11 | |
| 8 | 12 | export { hooks }; |