Dynamically Add javascript to Header and then Excute Onload In TypeScript

后端 未结 0 1428
误落风尘
误落风尘 2021-01-30 22:41

I was struggling converting this ReactJs to Typescript

renderMyThing = (): void => {
    const { name, window} = this.props;

    window[`render${name}`](`${na         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题