Skip to content

Instantly share code, notes, and snippets.

@marinalimeira
Last active March 31, 2017 14:40
Show Gist options
  • Select an option

  • Save marinalimeira/b5317e6e86e30d8788aae667d10e836a to your computer and use it in GitHub Desktop.

Select an option

Save marinalimeira/b5317e6e86e30d8788aae667d10e836a to your computer and use it in GitHub Desktop.
ReactDOM.render(
React.createElement('ul', { id: 'pokemons-list' },
React.createElement("li", {},
React.createElement('p', null,
React.createElement('strong', null, 'Pokémon:'),
' Haunter'
),
React.createElement('p', null,
React.createElement('strong', null, 'Type:'),
' Ghost/Poison'
)
),
React.createElement("li", {},
React.createElement('p', null,
React.createElement('strong', null, 'Pokémon:'),
' Umbreon',
),
React.createElement('p', null,
React.createElement('strong', null, 'Type:'),
' Dark',
)
)
), document.querySelector('#app'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment