mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-27 00:06:55 +00:00
cc10de43eb
This change adds the react-dom methods to the main export, since this is a Web-only environment (React Native does something similar). It augments the default render methods in order to move style sheet management under the control of the library (necessary for code-splitting support). Relates to #52
7 lines
209 B
HTML
7 lines
209 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>React Native for Web</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<div id="react-root"></div>
|
|
<script src="/examples.js"></script>
|