News for hackers. Stuff that matters.
Re:Show HN: An Isomorphic JavaScript Framework Faster Than R... by emehrkay on Tuesday May 26, 2015 @09:47AM (#9604774)
I like this syntax. How do you pass values to a component and how do you nest components with values and lets say, loop over an array and create a (sub)component? Also, when you embed a component, is there a way to interact with it?

This looks cool, keep it up

Re:Show HN: An Isomorphic JavaScript Framework Faster Than R... by astoilkov on Tuesday May 26, 2015 @09:54AM (#9604828)
Great questions. I currently filling the documentation so you could watch the repo or star it and keep an eye on it. The idea is that components will be like objects and elements so you could easily access them. Take a look at this example:

<div> { this.each(profiles);

  <!-- Render all profiles -->
  <Profile>
} <div> { this.find('Profile').setIsMyProfile(true);

  <!-- render personal profile -->
  My profile.
  <Profile>
}