Homepage
Sign in / Sign up
Go to the profile of Morgan Cheng
Morgan Cheng
☑ 互联网开发工程师 ☑ 技术布道者 ☑ 电影粉丝 ☑ 演讲控
Jul 11, 2016
With ES6 classes, you can also use property initializers.
simpixelated
3

Property initialize breaks hot-reloading. Try avoid property initializer if you want hot-reloading feature of React.

  • Go to the profile of Morgan Cheng

    Morgan Cheng

    ☑ 互联网开发工程师 ☑ 技术布道者 ☑ 电影粉丝 ☑ 演讲控

    • Share
    Go to the profile of Morgan Cheng
    Never miss a story from Morgan Cheng, when you sign up for Medium. Learn more
    Never miss a story from Morgan Cheng