2016-02-08 133 views

回答

1

我相信你正在尋找componentDidMount()。流星廚師在他的博客上有一些很好的博客文章。這是他的第一個React walkthroughs的鏈接。

+0

感謝您指出,男人,你是正確的, https://themeteorchef.com/blog/react-vs-blaze/#tmc-react-methods-vs-blaze-methods –

+0

但是究竟我們應該把在componentDidMount方法? 請賜教 –