userfront-core icon indicating copy to clipboard operation
userfront-core copied to clipboard

Replace `axios` with `isomorphic-unfetch` to cut down bundle size

Open mikestopcontinues opened this issue 4 years ago • 1 comments

Hey, I'm exploring userfront as an alternative to Auth0. It looks great! This FR isn't a dealbreaker or anything, but axios is pretty heavy now that fetch and almost complete browser support. isomorphic-unfetch fills in the gap, providing node-fetch on the server and a really thin polyfill in the browser. Cheers!

mikestopcontinues avatar Dec 28 '21 22:12 mikestopcontinues

@mikestopcontinues Thanks for writing this up. We've had it in mind for a little while and totally agree.

tyrw avatar Dec 29 '21 16:12 tyrw

Moved to Linear DEV-759

RJFelix avatar Oct 19 '23 17:10 RJFelix