My team has built a large KO app over the last 2 years. KO has been a great library but its time to move on.
KO and React play well together since the core philosophy is the same, small libs doings one thing well.
We are not looking at mingling KO and React code, rather leave our KO code in place; start hooking in React components and look to evolve from there.
- Custom binding to have KO mount React components
- Make it a bit nicer and register the binding as a part of the component
- Data can be passed to React component via props in the KO binding
- Use Amplify/SessionStorage to pass msgs between both KO/React
Now the KO component can be added to the DOM as usual and the rendering will be passed on to React.