Closed chawes13 closed 2 years ago
@mwislek I totally forgot to add documentation about the inversion of control approach I took which now requires an apiAdapter
prop!!! I'm going to pull this back into draft and then will re-request your review. The reason that I did this is because I did not want to pull in lp-requests
as a dependency to this library. Someone could pass in axios or really any object that responds with a Promise to .post()
.
For reference: new approach vs. existing approach
@mwislek Ready for review again. Here are the latest changes: https://github.com/LaunchPadLab/lp-components/pull/562/files/159e092c63244b4ef8efb0db13f9c4218dc3226f..68d2c649f98db1f4dc7b789cf6fb5a60d79d09f6
Resolves #414
Author Checklist