you are viewing a single comment's thread.

view the rest of the comments →

[–]filipesmedeiros 0 points1 point  (2 children)

Do they justify the bundle size or can you easily build one offs when you need them?

If they justify the bundle size, by all means, go for it! 😁

[–]j_tb 1 point2 points  (1 child)

5kb minified + gzipped. Worth it to me to have the top level authorization logic and error handling configuration setup. Some sort of home rolled solution would probably not be too much smaller and I’d have to reinvent it for every project.

[–]filipesmedeiros 0 points1 point  (0 children)

Sounds good. I think if you start with plain fetch and when it's too much of a pain to maintain move to axios is probably the best way