Skip to content

Instantly share code, notes, and snippets.

@reedho
Last active February 17, 2016 09:04
Show Gist options
  • Save reedho/a73362829691eb7339a8 to your computer and use it in GitHub Desktop.
Save reedho/a73362829691eb7339a8 to your computer and use it in GitHub Desktop.
Om Next -- The Basic we need to know
  • In the root component render, the props (which we can get with (om/props this)) is result of (parser {:state db} query). db is the result of normalization process of our initdata.

  • Delivering root component props to sub component is left to us, no automatic procession that is done by om/add-root!, e.g. no parser involvment, normalization, etc.

  • Thinks that normalization process is only matters to simplify change/update process.

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