()
| 11 | |
| 12 | const root = document.getElementById('root'); |
| 13 | const render = () => { |
| 14 | try { |
| 15 | ReactDOM.hydrate( |
| 16 | <App |
| 17 | name={window.__INITIAL_PATH__} |
| 18 | data={data} |
| 19 | github={"https://github.com/callstack/react-native-paper/edit/master/"} |
| 20 | logo={"images/sidebar-logo.svg"} |
| 21 | title={"[title] · React Native Paper"} |
| 22 | />, |
| 23 | root |
| 24 | ); |
| 25 | } catch (e) { |
| 26 | ReactDOM.render( |
| 27 | <RedBox error={e} />, |
| 28 | root |
| 29 | ); |
| 30 | } |
| 31 | }; |
| 32 | |
| 33 | if (module.hot) { |
| 34 | module.hot.accept(() => { |
no test coverage detected
searching dependent graphs…