Is there a special variable in React similar to the $event in template in Vue?

clipboard.png
$event

react


Vue$event""
vue$event
https://github.com/vuejs/vue/...

clipboard.png

the first question has been answered. Now let"s see if any of my friends can give me some advice on my second question

.
Mar.06,2021

the first question is changed like this:

class Demo extends Component{
    warn = (message, text, event) => {
        console.log(message);
        console.log(text);
        console.log(event);
    }
        
    render() {
        return <div>
            {/*  */}
            <button onClick={e => this.warn("hello","WTF", e)}>submit</button>
        </div>
    }
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bd6f-2b62b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bd6f-2b62b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?