MCPcopy
hub / github.com/callstack/react-native-paper / render

Function render

docs/public/1.0/app.src.js:14–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13const root = document.getElementById('root');
14const render = () => {
15 try {
16 ReactDOM.hydrate(
17 <App
18 name={window.__INITIAL_PATH__}
19 data={data}
20 layout={Layout}
21 />,
22 root
23 );
24 } catch (e) {
25 ReactDOM.render(
26 <RedBox error={e} />,
27 root
28 );
29 }
30};
31
32if (module.hot) {
33 module.hot.accept(() => {

Callers 1

app.src.jsFile · 0.70

Calls 1

renderMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…