score:5

Accepted answer
import React from 'react';
import {request} from './request';

const Component = () => {
  .....
  request();
}

score:0

   └─ client
      └─ redux
         └─ services
         └─ actions
         └─ reducers

score:1

Import { fetchData } from './SupplierServices'
Const Supplier = () => { 
 useEffect(.() =>{ 
 fetchData ()
 } )
}

Related Query

More Query from same tag