Skip to content

Instantly share code, notes, and snippets.

@ArthurClemens
Last active July 30, 2019 10:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ArthurClemens/d667fcdcc9e46621d287f88bc371d9ef to your computer and use it in GitHub Desktop.
Save ArthurClemens/d667fcdcc9e46621d287f88bc371d9ef to your computer and use it in GitHub Desktop.
Aligning keys in Mithril and React

In the tests below, check Component.js line 6.

  • Mithril does not want that key - breaks the app when added
  • React wants that key - shows a warning but the app will run

Mithril version

React version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment