Skip to content

Instantly share code, notes, and snippets.

@vzaidman
Created August 28, 2020 12:27
Show Gist options
  • Save vzaidman/c106c96f7499e283afbd9b6f820b0a9c to your computer and use it in GitHub Desktop.
Save vzaidman/c106c96f7499e283afbd9b6f820b0a9c to your computer and use it in GitHub Desktop.
React Create Eelement
const SomeReactElement = <SomeReactComponent/>
// equivalent to:
const SomeReactElement = React.createElement(SomeReactComponent)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment