Powered by
So I modified the SWR library to abstract the help...
# showcase
e
edgarbarrantes
08/11/2021, 2:20 AM
So I modified the SWR library to abstract the helper functions to a shared package and created a simple fetcher library. Added some examples regarding how it can be used with getServerSideProps in next (which is why I needed the fetcher), if anybody has a better way to do it or feedback it'd be much appreciated 🙂 Fetcher:
https://www.npmjs.com/package/@edgarbarrantes/supabase-fetcher
Helpers:
https://www.npmjs.com/package/@edgarbarrantes/supabase-fetcher-helpers
Previous
Next