https://github.com/griddlegriddle/griddle-remote-plugin
A plugin for loading data remotely.
https://github.com/griddlegriddle/griddle-remote-plugin
Last synced: about 1 year ago
JSON representation
A plugin for loading data remotely.
- Host: GitHub
- URL: https://github.com/griddlegriddle/griddle-remote-plugin
- Owner: GriddleGriddle
- Created: 2015-10-21T00:30:58.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-01T02:41:23.000Z (over 9 years ago)
- Last Synced: 2025-02-16T15:36:59.843Z (over 1 year ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 0
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## :warning: Deprecated :warning:
### Please find 1.0 updates in the [1.0-combined](https://github.com/GriddleGriddle/Griddle/tree/1.0-combined) branch.
# Griddle Remote Plugin (BETA)
The remote plugin provides a configurable way to load data that might not be available locally.
Install with `npm install griddle-remote-plugin` and import or require the
plugin. The remote plugin allows you to specify the request / response format,
as well as specify the provider used for loading data (such as `superagent` or
your own).
```
import { RemotePlugin, superagentProvider } from 'griddle-remote-plugin';
...
const optionalConfig = {...};