Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
566 views
in Technique[技术] by (71.8m points)

reactjs能否以及如何通过第三方url远程加载组件

我正在用reactjs做一个管理平台,平台允许用户动态添加第三方基于我们的api开发的功能。

我希望能将第三方开发的功能无缝动态整合到平台中。

我的设想是,当用户点击某个第三方功能时,可以根据第三方注册的url动态获取第三方组件的js文件,将component加载进来并渲染。

reactjs是否能够做到?如果可以,该如何操作?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...