ReactLayout and FlowLayout


#1

I was playing react with the ReactLayout in my project, meanwhile I am keeping the FlowLayout to render some templates that I have. However, when I try to redirect from a template that render by FlowLayout to a react components that rendered by ReactLayout. The content of the react component got appended to the template’s content, and effect will disappear only if i refresh the page. Any body knows what happened and how to solve it? Thanks.


#2

I think it’s not a good idea to use them both in a single project.
If you still have blaze templates in your app, try to render react components inside Blaze templates.

Use ReactLayout when you don’t have Blaze templates.


#3

Thank you @arunoda :grinning: