File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
core/src/main/scala/japgolly/scalajs/react Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -168,24 +168,24 @@ trait ComponentScope_A extends Object {
168
168
}
169
169
170
170
trait ComponentScope_P [+ Props ] extends Object {
171
- @ JSName (" props" ) def _props : WrapObj [Props ] with PropsMixedIn = js.native
171
+ @ JSName (" props" ) private [react] def _props : WrapObj [Props ] with PropsMixedIn = js.native
172
172
}
173
173
174
174
trait ComponentScope_S [+ State ] extends Object {
175
- @ JSName (" state" ) def _state : WrapObj [State ] = js.native
175
+ @ JSName (" state" ) private [react] def _state : WrapObj [State ] = js.native
176
176
}
177
177
178
178
trait ComponentScope_SS [State ] extends ComponentScope_S [State ] {
179
- @ JSName (" setState" ) def _setState (s : WrapObj [State ]): Unit = js.native
180
- @ JSName (" setState" ) def _setState (s : WrapObj [State ], callback : UndefOr [JFn ]): Unit = js.native
179
+ @ JSName (" setState" ) private [react] def _setState (s : WrapObj [State ]): Unit = js.native
180
+ @ JSName (" setState" ) private [react] def _setState (s : WrapObj [State ], callback : UndefOr [JFn ]): Unit = js.native
181
181
}
182
182
183
183
trait ComponentScope_B [+ Backend ] extends Object {
184
184
def backend : Backend = js.native
185
185
}
186
186
187
187
trait ComponentScope_PS [- Props , + State ] extends Object {
188
- @ JSName (" getInitialState" ) def _getInitialState (s : WrapObj [Props ]): WrapObj [State ] = js.native
188
+ @ JSName (" getInitialState" ) private [react] def _getInitialState (s : WrapObj [Props ]): WrapObj [State ] = js.native
189
189
}
190
190
191
191
trait ComponentScope_M [+ Node <: TopNode ] extends Object {
Original file line number Diff line number Diff line change 2
2
3
3
* Upgrade to Scala.JS 0.6.1.
4
4
* Upgrade dependencies to versions built with Scala.JS 0.6.1.
5
+ * Hide internal methods.
6
+
5
7
6
8
# 0.8.1 ([ commit log] ( https://github.com/japgolly/scalajs-react/compare/v0.8.0...v0.8.1 ) )
7
9
You can’t perform that action at this time.
0 commit comments