no message
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
class Child extends React.Component{
|
||||
state={count:0}
|
||||
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
import React from "react";
|
||||
class Ref extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
}
|
||||
haha=()=> {
|
||||
const {hehe}=this
|
||||
alert(hehe.value)
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
import React from "react";
|
||||
class Ref extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
}
|
||||
haha=(c)=> {
|
||||
this.hehe=c
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user