A simple component to download data from a client-side cache (e.g. flux, redux).
Design to be used with browserify or webpack.
npm install --save react-download-link
"My cached data"}>Save to disk
Or with Promises:
Promise.resolve("My cached data")}>Save to disk
The component will default to an anchor tag, but the tagName prop will accept a string of any other HTML tag you prefer, such as 'button'.