You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replaces the old storybook with static HTML documentation and an interactive
examples app. The documentation is now easier to customize, easier to maintain,
and faster to load. The interactive examples are a dedicated Next.js app that
can be loaded and edited in codesandbox, as well as embedded in the
documentation where needed.
The [documentation site](https://necolas.github.com/react-native-web/) covers installation, guides, and APIs.
69
10
70
-
## Examples
11
+
## Example
71
12
72
-
And here is a simple example to get you started. The documentation includes
73
-
interactive examples and the [source
74
-
code](https://github.com/necolas/react-native-web/blob/master/packages/docs) is
75
-
also available.
13
+
And here is a simple example to get you started. The example app includes interactive examples and the [source code](https://github.com/necolas/react-native-web/blob/master/packages/docs) is also available.
| StatusBar | (✓) | Mock. No equivalent web APIs. |
129
-
| Switch | ✓ ||
130
-
| Text | ✓ | Missing `onLongPress` ([#1011](https://github.com/necolas/react-native-web/issues/1011)) support. |
131
-
| TextInput | ✓ | Missing rich text features ([#1023](https://github.com/necolas/react-native-web/issues/1023)), and auto-expanding behaviour ([#795](https://github.com/necolas/react-native-web/issues/795)). |
132
-
| Touchable | ✓ | Includes additional support for mouse and keyboard interactions. |
133
-
| TouchableHighlight | ✓ ||
134
-
| TouchableNativeFeedback | ✘ | Not started ([#1024](https://github.com/necolas/react-native-web/issues/1024)). |
135
-
| TouchableOpacity | ✓ ||
136
-
| TouchableWithoutFeedback | ✓ ||
137
-
| View | ✓ ||
138
-
| VirtualizedList | ✓ ||
139
-
| YellowBox | (✓) | Mock. No YellowBox functionality. |
140
-
141
-
### Modules
142
-
143
-
| Name | Status | Notes |
144
-
| :----------------------- | :----- | :---- |
145
-
| AccessibilityInfo | (✓) | Mock. No equivalent web APIs. |
146
-
| Alert | ✘ | Not started ([#1026](https://github.com/necolas/react-native-web/issues/1026)). |
| Share | ✓ | Only available over HTTPS. Read about the [Web Share API](https://wicg.github.io/web-share/). |
170
-
| StyleSheet | ✓ ||
171
-
| UIManager | ✓ ||
172
-
| Vibration | ✓ ||
173
-
| useColorScheme | ✓ ||
174
-
| useWindowDimensions | ✓ ||
40
+
You'll notice that there is no reference to `react-dom`; the `App` component is defined using the platform-agnostic APIs and Components introduced by React Native. This allows the app to be rendered to web and native platforms.
175
41
176
42
## Contributing
177
43
178
-
The main purpose of this repository is to help evolve React web and native
179
-
development towards the platform-agnostic design of React Native, and in the
180
-
process make it faster and easier to build high-quality experiences for the web
181
-
with React. Development happens in the open on GitHub, and we are grateful for
182
-
contributing bugfixes and improvements. Read below to learn how you can take
183
-
part in improving React Native for Web.
44
+
The main purpose of this repository is to help evolve React web and native development towards the platform-agnostic design of React Native, and in the process make it faster and easier to build high-quality experiences for the web with React. Development happens in the open on GitHub, and we are grateful for contributing bugfixes and improvements. Read below to learn how you can take part in improving React Native for Web.
184
45
185
46
### Code of conduct
186
47
187
-
Facebook has adopted a [Code of Conduct][code-of-conduct] that this project
188
-
expects all participants to adhere to. Please read the full text so that you
189
-
can understand what actions will and will not be tolerated.
48
+
Facebook has adopted a [Code of Conduct][code-of-conduct] that this project expects all participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.
190
49
191
50
### Contributing guide
192
51
193
-
Read the [contributing guide][contributing-url] to learn about the
194
-
development process, how to propose bugfixes and improvements, and how to build
195
-
and test your changes to React Native for Web.
52
+
Read the [contributing guide][contributing-url] to learn about the development process, how to propose bugfixes and improvements, and how to build and test your changes to React Native for Web.
196
53
197
54
### Good first issues
198
55
199
-
To help you get you familiar with the contribution process, there is a list of
200
-
[good first issues][good-first-issue-url] that contain bugs which have a
201
-
relatively limited scope. This is a great place to get started.
56
+
To help you get you familiar with the contribution process, there is a list of [good first issues][good-first-issue-url] that contain bugs which have a relatively limited scope. This is a great place to get started.
202
57
203
58
## License
204
59
205
-
React Native for Web is [MIT licensed](./LICENSE). By contributing to React
206
-
Native for Web, you agree that your contributions will be licensed under its
207
-
MIT license.
60
+
React Native for Web is [MIT licensed](./LICENSE). By contributing to React Native for Web, you agree that your contributions will be licensed under its MIT license.
0 commit comments