Things Ian Says
react
Here are all the items relating to react (page 1 of 1)
Cross Framework Messaging
Wednesday, 20 January 2016
With the proliferation of Javascript frameworks, I found myself in the situation where I needed two different UI elements — built with two different Javascript frameworks — to communicate with each other.
Rather than choosing to migrate one onto a different framework, I looked at a way of allowing them to send messages to each other using the Mediator Design Pattern.
Using this pattern, I have an example of an Angular app, a React app, and a plain Javascript app communicating.