FeatureFuel
2

Individual NPM packages for supabase-js modules?

Source: supabase/supabase#18179 · opened by @franklloydteh
I am not sure if I am using the term 'modules' correctly. But when I say modules, I mean: • Auth • Database • Storage • Functions • Realtime Say I only want Supabase to be used for authentication and chatrooms. I would only import @supabase/auth-js and @supbase/realtime-js. I can see @supbase/realtime-js as a project, but I only see support projects for authentication (auth-helpers). I am unsure if @supabase/realtime-js can be used as a standalone because the guides for realtime always load/import @supabase/supabase-js Some benefits: 1. Reduce download sizes (JS file) 2. A layer that prevents Devs from using Supabase features that's handled by other tech (e.g. other Document Management System) 3. A layer that enforces architectural decisions (e.g. do not directly access database, everything must go through functions for additional layers of validation) #2 and #3 certainly aren't meant to be the only ways of enfo…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests