We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d31a6e commit cda1397Copy full SHA for cda1397
demo/App.js
@@ -11,6 +11,11 @@ class App extends Component {
11
Congrats! You've successfully completed the tutorial. I'm excited to
12
see what you build
13
</Text>
14
+ <Text>Hell yeah! The new renderer api is working.</Text>
15
+ <Text>
16
+ Congrats! You've successfully completed the tutorial. I'm excited to
17
+ see what you build
18
+ </Text>
19
</Document>
20
);
21
}
src/components/Text.js
@@ -1,5 +1,4 @@
1
import { noop } from '../utils/noop';
2
-import { appendChild } from '../utils/appendChild';
3
4
class Text {
5
constructor(root, props) {
@@ -10,7 +9,7 @@ class Text {
10
9
appendChild(child) {
- appendChild.call(this, child);
+ this.adder.addText(child);
render() {
0 commit comments