wrap-cli icon indicating copy to clipboard operation
wrap-cli copied to clipboard

Use PolywrapClientConfig instead of parts of it in PolywrapProvider

Open nerfZael opened this issue 3 years ago • 1 comments

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>

nerfZael avatar Sep 20 '22 16:09 nerfZael

Agreed 💯

dOrgJelli avatar Sep 20 '22 16:09 dOrgJelli