wrap-cli
wrap-cli copied to clipboard
Use PolywrapClientConfig instead of parts of it in PolywrapProvider
Example use of the current PolywrapProvider:
const redirects = [];
const plugins = [];
<PolywrapProvider redirects{redirect} plugins={plugins}>
</PolywrapProvider>
A much cleaner (and similar to other react packages) interface would be:
const config = {};
<PolywrapProvider config={config}>
</PolywrapProvider>
Agreed 💯