score:1

ok. i found the answer to this. what i did was introduced the below attributes in webpack output;

library: 'reactwelcomecomponent',
librarytarget: 'var'

then in my angular directive i am able to access the react component like below;

var jsxreactcomponent = react.createfactory(reactwelcomecomponent.default);

with this approach, i am able to call the react component that was generated as part of webpack step and access in angular context.


Related Query

More Query from same tag