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
Copy file name to clipboardExpand all lines: README.md
+1-11Lines changed: 1 addition & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,9 @@
2
2
3
3
Build Vue-like components in React. Get the goodness of Vue-reactivty system such as watchers and computed properties and remove the need of using React's `setState` completely.
4
4
5
-
6
-
7
5
## Installation
8
6
9
-
`$ npm install --save-dev react-vue-component`
7
+
`$ npm install --save react-vue-component`
10
8
11
9
# Basic Usage
12
10
@@ -112,14 +110,6 @@ class App extends Component {
112
110
}
113
111
```
114
112
115
-
116
-
117
-
# Q&A
118
-
119
-
- Why do this ?
120
-
121
-
- Lel cuz react suks. Just kidding, but personally I admire Vue for it's simple and easy-to-use components and always wanted something similar whenever I'm on React, especially the ability to `watch` properties (in React, afaik you gotta compare the previous and current states manually in `componentDidUpdate`).
122
-
123
113
# Credits
124
114
125
115
- All credits to the Vue core team for their awesome reactivity system.
0 commit comments