Looks like we found a way to have reusable actions in both browse and read views of Anahita React. It works so well that we can even have Owner Actor follow/unfollow or block/unblock on story items. Going to implement the additional actions next. The code can be made DRY, but we aren't going to do that yet. We want to see all the patterns emerge and then we'll come up with higher order function...
Rastin Mehr

Rastin Mehr

  • July 04 2015
  • Learn Media App Development

Lesson 4: the MVC design pattern

Anahita provides a Model-View-Controller (MVC) framework specialized for building social networking apps. In this course we aren't going to the details of what MVC is about. If you want to learn more, check out this wikipedia page:


Component Inheritance

Every Anahita component has one or more than one MVCs. A component may use inheritance and ext...

Powered by Anahita