How to use the @tarojs/taro-rn.hideLoading function in @tarojs/taro-rn

To help you get started, we’ve selected a few @tarojs/taro-rn examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github BinZhiZhu / Taro-v2ex-weapp / rn_temp / components / latest-data-default-list / index.js View on Github external
}).then(result => {
        Taro.hideLoading();
        if (result.status === 'error') {
          showToast(result.message);
        }
        console.log('获取最新节点', result);
        this.props.dispatch({
          type: LATEST_TOPIC_LIST,
          data: result.data
        });
      }).catch(error => {
        showToast(error.message);
github BinZhiZhu / Taro-v2ex-weapp / rn_temp / components / latest-data-list / index.js View on Github external
}).then(result => {
        Taro.hideLoading();
        if (result.status === 'error') {
          showToast(result.message);
        }
        console.log('获取最热节点', result);
        this.props.dispatch({
          type: HOT_TOPIC_DATA,
          data: result.data
        });
      }).catch(error => {
        showToast(error.message);
github BinZhiZhu / Taro-v2ex-weapp / rn_temp / pages / detail / index.js View on Github external
}).then(result => {
        Taro.hideLoading();
        if (result.status === 'error') {
          showToast(result.message);
        }
        console.log('获取帖子详情', result);
        this.props.dispatch({
          type: TOPIC_DETAIL_DATA,
          data: result.data
        });
      }).catch(error => {
        showToast(error.message);

@tarojs/taro-rn

Taro RN framework

MIT
Latest version published 28 days ago

Package Health Score

84 / 100
Full package analysis