Hit Ctrl-O to select the methods from the base class you'd like to override #WebStormTippic.twitter.com/qkWS44wyxt
-
-
Replying to @WebStormIDE
Will this work for React Components? (i.e. will it suggest componentDidMount, etc?)
3 replies 0 retweets 0 likes -
Replying to @cowchimp
no, it seems that the base class for React Component has only two methods – forceUpdate and setState: https://github.com/facebook/react/blob/15-stable/src/isomorphic/modern/class/ReactComponent.js …
1 reply 0 retweets 0 likes -
Replying to @cowchimp
btw, completion for lifecycle method works with react.d.ts (to add it go to Pref | Languages&Framewoks | JS | Libraries-Download)
4:55 AM - 8 Mar 2017
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.