score:0

import {useEffect} from 'react'

class MyApp extends App {

useEffect(()=> {
 setInitialUserData()
},[])

  render() {
...
}

Related Query

More Query from same tag