Skip to content
Fred Chien edited this page Jan 16, 2016 · 1 revision

@wait decorator is used to wait for actions to finish and update stores, then continue component initializing. You can specify single or multiple states to wait.

import { wait } from 'Decorator';

@wait('Friends');
class MyPage extends React.Component {
    // ...
}