Jack Shepherd
1 min readJan 3, 2020

--

Yes I think you probably can. In your useEffect hook, you are reverting to promise syntax. You can try defining an async function and then calling it within the hook.

--

--

Jack Shepherd
Jack Shepherd

Written by Jack Shepherd

Ex biglaw insolvency lawyer and innovation. Now legal practice lead at iManage. Interested in human side of legal tech and actually getting things used.

No responses yet