React component lifecycle: calling .then of a promise in props

后端 未结 0 581
闹比i
闹比i 2020-12-04 06:30

I\'m trying to build a (higher order) component (class) whose contents are loaded from promise.

import React from \'react\';
import { Error, Loading } from \'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题