This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyComponent extends React.Component { | |
render() { | |
const {location, todos, users} = this.props; | |
// | |
// ... do things with your variables! | |
// | |
return ( | |
<MyChild {...{location, todos, user}} /> | |
// equivalent to: | |
// <MyChild location={location} todos={todos} user={user} /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# sublimelinter.py | |
# Part of SublimeLinter3, a code checking framework for Sublime Text 3 | |
# | |
# Written by Ryan Hileman and Aparajita Fishman | |
# | |
# Project: https://github.com/SublimeLinter/SublimeLinter3 | |
# License: MIT | |
# |
NewerOlder