Skip to content

Commit fefb566

Browse files
committed
add Discord badge to Readme, fix flow check
1 parent 0a6632d commit fefb566

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Examples/SimpleChatClient/components/ChatLayout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class ChatLayout extends React.Component {
6262
placeholder={'Type message...'}
6363
/>;
6464
}
65-
sendMessage(text) {
65+
sendMessage(text: string) {
6666
if (!text) {
6767
return;
6868
}

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@ Build OS X desktop apps using React Native.
44

55
[![Build Status](https://travis-ci.org/ptmt/react-native-desktop.svg)](https://travis-ci.org/ptmt/react-native-desktop)
66
[![npm version](https://badge.fury.io/js/react-native-desktop.svg)](https://badge.fury.io/js/react-native-desktop)
7+
[![discord #react-native-desktop](https://img.shields.io/badge/discord-%23react--native--desktop-blue.svg)](https://discordapp.com/channels/102860784329052160/111514927801307136)
78

89
## TL;DR
910

1011
<img width="914" alt="screenshot 2015-11-03 10 42 56" src="https://cloud.githubusercontent.com/assets/1004115/10905298/8c4e31bc-8219-11e5-8375-d43066e51c66.png">
11-
*(Here goes a nice video demonstrating effective and smooth updates of native NSView tree from JS thread)*
12+
*(Placeholder for a nice video demonstrating smooth native UI updates from JS thread)*
1213

1314
**It's not production ready**: the lack of most important features, documentation is missing, there are no benchmarks and completed examples. It's also only for OS X at the moment.
1415

15-
Since it's a fork of React Native, you could follow the same steps to run Examples or your own app. Do not hesitate to ask on `#react-native-desktop` channel if you run into problems (and you will).
16+
**Getting started**
17+
18+
Since it's a fork of React Native, you can follow the same steps to run Examples or your own app. Do not hesitate to ask anything on `#react-native-desktop` channel if you run into problems (and you probably will).
1619

1720
**Why not vanilla AppKit?**
1821

@@ -25,7 +28,6 @@ Since it's a fork of React Native, you could follow the same steps to run Exampl
2528
- In some ways RND is kind of a small unstable subset of Electron's features: there is no DOM, CSS, browser APIs. Potentially it could be useful if you don't need a whole browser for your app. Until the next-gen parallel browser engines become real.
2629
- RND's footprint is relatively small (about 1.3MB for Examples/SimpleChatClient) and could be configured.
2730

28-
2931
****
3032

3133
If you are into React.js please help to make examples look clean and idiomatic. If you can give an advice on Windows or Linux bindings or just have an idea for an awesome app which you always wanted, please feel free to reach me out on `#react-native-desktop`.
@@ -37,5 +39,3 @@ Some screenshots:
3739
<img width="986" alt="screenshot 2015-10-24 16 40 36" src="https://cloud.githubusercontent.com/assets/1004115/10710169/c1bc7d06-7a65-11e5-8bab-4f89ecae26c3.png">
3840

3941
<img width="986" alt="screenshot 2015-10-27 17 08 38" src="https://cloud.githubusercontent.com/assets/1004115/10756317/0ee807ec-7cc5-11e5-8fe4-6aaa8a9f7858.png">
40-
41-
<sup>*Codename "Lepton"*</sup>

0 commit comments

Comments
 (0)