Let me mention more info -
this is the project structure i am following in a node express app.
query - i have got following two routes with corresponding templates.
1) index route(default route) - index.hjs template and
2) movies route(created one) - movies.hjs template
Now i have react components in app.js , i want to render a react component to a DOM node (i.e. any div element) of movies.hjs template.
[by default react components in app.js are able to access DOM node of index.hjs but not able to access of a different template like movies.hjs].
Please help.
via SrmHitter9062

No comments:
Post a Comment