Closed bdata42 closed 2 years ago
Hi there,
This could very much be something dumb I'm doing.
But for me, the remote URL fetch completely fails.
As in, the complete callback never fires.
complete
Check out my attached Codesandbox. Code for brevity below:
import "./styles.css"; import { readRemoteFile } from 'react-papaparse' import {useEffect} from 'react' export default function App() { useEffect(() => { console.log('hi') readRemoteFile('https://people.sc.fsu.edu/~jburkardt/data/csv/addresses.csv', { complete: async (results, file) => { console.log('success', results) } }) }) return ( <div className="App"> <h1>Hello CodeSandbox</h1> <h2>Start editing to see some magic happen!</h2> </div> ); }
Hi there,
This could very much be something dumb I'm doing.
But for me, the remote URL fetch completely fails.
As in, the
complete
callback never fires.Check out my attached Codesandbox. Code for brevity below: