Paul @futurepaul
@dan_abramov This is perfect, thank you! I switched to callbacks because I was getting a "cross-origin error" which went away when I converted the functions to useCallback. Thought it might have something to do with "Don’t call Hooks from regular JavaScript functions". — PolitiTweet.org