mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-01-12 22:51:09 +08:00
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>
|