You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library is pretty useful as it is, but having the option to dynamically generate the script URLs based on props would make it more generic.
Example use case: you want to load an API library (say Google API) but want to dynamically inject the API_KEY based on config fetched from server, or logged in user permissions/profile, and so on.
This library is pretty useful as it is, but having the option to dynamically generate the script URLs based on props would make it more generic.
Example use case: you want to load an API library (say Google API) but want to dynamically inject the API_KEY based on config fetched from server, or logged in user permissions/profile, and so on.
Basically being able to do something like:
In addition this will make this library play much nicer with
recompose
in which a stream of props is generated from HOC to HOC.Pull request to follow :)
The text was updated successfully, but these errors were encountered: