Anyone have idea about the common design problems we face in web components designs. I have started with Vuejs/ReactJS and Angular 2 but the most common problem I face is communication between components. I want to talk to other dynamic components and pass some data to it expecting data in return.
Like I have a repeated list of items and all the items I have to open a option picker menu(reusable). And I want to get back a callback as well when a option is selected. You can think of common Modal or Popover residing under the #app element.
Somehow I achieved this using PubSub pattern but don't think that it is good idea to use. Please suggest if anyone have any better idea about it.