We are porting our Backbone app to use React and Redux. I am creating a new function using React / Redux, but this requires a textInputView, which is currently in Backbone. This textInputView is very bulky and has advanced features that prevent me from porting it to React at this time.
I need to display a Backbone view and put it as an element inside my React module. My idea is to display the Backbone view and pass it to the React component. Then, in my React component, create the componentDidMount and componentDidUpdate functions, which will manually add my Backbone view to the DOM every time the React elements are redirected.
I think this will work, but it seems messy. Are there cleaner solutions?
source share