https://supabase.com/ logo
Join Discord
Powered by
# off-topic
  • t

    teiki

    10/22/2022, 10:45 PM
    Thanks @konga
  • g

    garyaustin

    10/22/2022, 10:56 PM
    Local storage
  • v

    Veggie

    10/23/2022, 12:31 AM
    Hey yall, noob question here - can someone help me understand why these async functions are written in two different notations in the Supabase Sveltekit quickstart tutorial https://supabase.com/docs/guides/with-sveltekit
    Copy code
    const handleLogin = async () => {
        try {
          ...
        } catch (error) {
          ...
        } finally {
          ...
        }
      }
    VS
    Copy code
    async function signOut() {
        try {
          ...
        } catch (error) {
          ...
        } finally {
          ...
        }
      }
  • o

    Olyno

    10/23/2022, 2:07 AM
    That's basically the same, it just depends of which way you prefer
  • u

    Unknown Member

    10/23/2022, 3:13 AM
    @Veggie I think if you need a reference to "this" in the context you're within, you should use the 2nd one. I recently just learned, because I was trying to understand how pinia (state management in vue 3) works. And they encourage the usage of arrow functions for getters because it encapsulates from having access to 'this' so state is protected from being mutated.
  • v

    Veggie

    10/23/2022, 12:57 PM
    Thank you that helps! Further reading: https://medium.com/geekculture/regular-vs-arrow-function-1f8140fbcece
  • e

    endigma

    10/23/2022, 10:49 PM
    are the docs meant to be entirely in serif
  • e

    endigma

    10/23/2022, 10:49 PM
    font seems entirely unset
  • e

    endigma

    10/23/2022, 10:52 PM
    on my mac it uses san francisco despite also being unset
  • h

    Hege

    10/24/2022, 12:46 AM
    Is there a way to serve html from supabase?
  • h

    Hege

    10/24/2022, 12:46 AM
    A la Jinja2 from python
  • g

    garyaustin

    10/24/2022, 1:54 AM
    In general no. Supabase is very cautious on anything that can be used to host websites.
  • h

    Hege

    10/24/2022, 1:55 AM
    It's just that I only need a crud so supabase literally is all I need for backend
  • h

    Hege

    10/24/2022, 1:56 AM
    Why is that tho?
  • g

    garyaustin

    10/24/2022, 2:05 AM
    Towards the bottom of this edge function blog post is the reasoning... https://supabase.com/blog/supabase-edge-functions I've seen similar comments on storage.
  • h

    Hege

    10/24/2022, 2:17 AM
    I get it now
  • h

    Hege

    10/24/2022, 2:18 AM
    Perhaps in the future for the enterprise tier
  • h

    Hege

    10/24/2022, 2:35 AM
    Or maybe an admin panel? That's what I really need
  • h

    Hege

    10/24/2022, 2:35 AM
    A la Django admin
  • e

    Elgr

    10/24/2022, 2:42 PM
    Asked in help and made a suggestion, but just curious if anyone has used a read replica and basically layered all the good things about supabase on top of an existing postgres setup
    s
    • 2
    • 5
  • n

    nvr

    10/24/2022, 3:27 PM
    How do i use OAuth Providers with Expo React Native (Supabase v2)?
  • d

    Deed

    10/24/2022, 6:21 PM
    is ssupabase high latency for anyone else rn?
  • g

    garyaustin

    10/24/2022, 7:14 PM
    You should state where your instance is and you are where accessing it from as could be radically different.
  • d

    Deed

    10/24/2022, 7:25 PM
    Its all good now, it was in Colorado
  • d

    Deed

    10/24/2022, 7:26 PM
    will do that next time!
  • j

    J0rdan

    10/24/2022, 10:42 PM
    i red you can host supabase locally also the db? but not find this back in the docs
  • j

    J0rdan

    10/24/2022, 10:43 PM
    can i only use supabase with a cloud database or can i host the db myself also?
  • j

    J0rdan

    10/24/2022, 10:45 PM
    ah nevermind i had to click a little deeper i guess this one https://supabase.com/docs/guides/hosting/docker
  • g

    GemCollector — Never DMs You

    10/25/2022, 12:42 AM
    Hey everyone I need help with supabase realtime. I'm getting thousands of errors like this a second. I can't find anything ni the docs.
  • g

    garyaustin

    10/25/2022, 12:52 AM
    You also posted this in help. Please don't double post. Otherwise this thread is just a duplicate of the help thread.
1...278279280...392Latest