1.0.1 • Published 10 months ago

custom-endpoint-accessor v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

custom-endpoint-accessor

How to use

... import { getJSONData } from 'custom-endpoint-accessor'; ...

function App() { ...

const handleClick = () => { getJSONData(pageNum).then(res => { if (res.type == 'success') console.log(res.data); }); }

... }

export default App;

1.0.1

10 months ago

1.0.0

10 months ago