Subcollections in Firebase/Firestore v9 (with React.js)

Поделиться
HTML-код
  • Опубликовано: 28 дек 2024

Комментарии • 52

  • @omaaar_cito
    @omaaar_cito 2 года назад +5

    I haven't been able to solve a problem similar to this for two weeks, and almost on the verge of giving up, your video appeared. Thank you very much from the end of the world, Argentina. Best regards

    • @ravenjs
      @ravenjs  2 года назад +1

      i'm glad it helped!

  • @fabianrossini4315
    @fabianrossini4315 Год назад +1

    Thank you a lot, RavenJS! Simple, very useful, step by step, greetings from Argentina

  • @HendrieBeats
    @HendrieBeats 2 года назад +2

    bro - your content is so good. You're a very skilled programmer

  • @jhuliangr
    @jhuliangr Год назад +1

    It was Exactly what I need, thanks RavenJS. Keep doing this

  • @haikoerinkveld4242
    @haikoerinkveld4242 2 года назад +4

    Exactly what I needed. Keep up making this valuable content. You are the only one explaining firebase v9 the way a beginner understands. Also all the questions I had were answered in this video. 💯💯

  • @shubhamsharma0099
    @shubhamsharma0099 Год назад +1

    thanks a lot man you kill it explanation was so understand-able

  • @policeislam2846
    @policeislam2846 2 года назад +2

    thank you so much please upload more firebase tutos

  • @klaidonas3589
    @klaidonas3589 2 года назад +3

    Great tutorial ^^ Up to date as well!

  • @techTalks-FullStack
    @techTalks-FullStack 11 месяцев назад +1

    Thanks a lot man, it was really helpful❤

  • @duythongpham986
    @duythongpham986 2 года назад +2

    Thank Logicism, very useful!

  • @worldfromhome4033
    @worldfromhome4033 Год назад +1

    Couldn't thank you enough!!

  • @rjmproductions885
    @rjmproductions885 2 года назад +2

    Great stuff!! Truly the king of firebase tutorial 🤴🏿🤴🏿

    • @ravenjs
      @ravenjs  2 года назад +1

      Glad you think so!

  • @anarmammadhasanov7987
    @anarmammadhasanov7987 10 месяцев назад +1

    amazing, thanks a lot for lessons

  • @blanche0018
    @blanche0018 2 года назад +1

    I just wanna say thank you very much!! Your videos really help me understand a lot. ^D^

    • @ravenjs
      @ravenjs  2 года назад +1

      Happy to hear that!

  • @sayednazir6797
    @sayednazir6797 2 года назад +3

    You Sir, are a life saver. THANK YOU!

  • @ladiffaerence2491
    @ladiffaerence2491 Год назад +1

    Truly appreciate that...life saver

  • @diegonacif9359
    @diegonacif9359 Год назад +1

    It helped me a lot. Thank you!

  • @rafaelsoteldosilva
    @rafaelsoteldosilva 2 года назад +1

    I found it extremely useful. I appreciate you did it. Thank you

  • @maskman4821
    @maskman4821 2 года назад +2

    This is an really awesome and helpful tutorial, thank you so much 🙏

  • @iamPressureMan
    @iamPressureMan 2 года назад +2

    Do you know how to listen for the last added document in a sub-collection ?
    Parent collection name is 'searchRequests' and sub-collection name is 'offers'.
    I would like to create a trigger function that will trigger on the last document created inside the sub-collection :"offers\"

    • @ravenjs
      @ravenjs  2 года назад +2

      You can use the useCollection hook from react-firebase-hooks to subscribe to the subcollection, and put the value returned from the hook into a useEffect() hook to trigger a function everytime the returned value changed (which it should change automatically if you are using useCollection)

    • @iamPressureMan
      @iamPressureMan 2 года назад +1

      @@ravenjs is there a way I can pm you ?

    • @ravenjs
      @ravenjs  2 года назад +2

      @@iamPressureMan you can email me, it's in my channel description

    • @iamPressureMan
      @iamPressureMan 2 года назад +2

      @@ravenjs Thanks, i've reached out.
      Also, keep up the good content! you are much appreciated bro!

  • @МаксимИсаев-ъ5о
    @МаксимИсаев-ъ5о 2 года назад +1

    RESPECT!

  • @EdwardeAkmad
    @EdwardeAkmad 2 года назад +1

    thanka youu soooooooooooooooooooooooooooooooooooo much

  • @bambangpramudhitabudhiman9174
    @bambangpramudhitabudhiman9174 2 года назад +1

    this is exactly what i needed, thankyou, and also is there a way for me to get all document id using useCollectionData? thankyou , great video

    • @ravenjs
      @ravenjs  2 года назад +2

      Yes, there is a way.
      const options = { idField: nameOfIdField (you'd probably just put 'id' here) };
      const [values, loading, error] = useCollectionData(query, options);
      github.com/CSFrequency/react-firebase-hooks/tree/v4.0.2/firestore#usecollectiondata

    • @bambangpramudhitabudhiman9174
      @bambangpramudhitabudhiman9174 Год назад +2

      @@ravenjs thankyou very much, you are a lifeSaver!

    • @ravenjs
      @ravenjs  Год назад +1

      @@bambangpramudhitabudhiman9174 you’re most welcome

  • @deepaks.g8879
    @deepaks.g8879 2 года назад +2

    😘😘

  • @Emilia-xw2to
    @Emilia-xw2to Год назад

    Hi, can you please advise How can we perform serach actions on firebase and react? Also maybe some fiftering?

  • @abdelrzckahmed4323
    @abdelrzckahmed4323 2 года назад

    thank u so much it is what a needed

  • @mishakrasnonos6333
    @mishakrasnonos6333 Год назад

    how to remove subtask?

  • @pvofbodom
    @pvofbodom Год назад

    I have an issue. My ChildrenList component doesnt return any value. I've console that and returned an empty array.

  • @trures1166
    @trures1166 Год назад

    How to use orderBy on this code thank you

  • @sainath3829
    @sainath3829 2 года назад

    thankyou man 🤩

  • @andreespinoza5902
    @andreespinoza5902 Год назад

    this doesnt work for me. I keep getting this error when trying to console.log(docs): Uncaught FirebaseError: Expected type 'pa', but it was: a custom cf object

    • @andreespinoza5902
      @andreespinoza5902 Год назад

      I fixed it but using the npm version of firebase instead of the cdn

  • @sainath3829
    @sainath3829 2 года назад

    How to get the Doc ID

    • @diegonacif9359
      @diegonacif9359 Год назад

      Talk to me if you still need this information

  • @AlexAnie-uz2nr
    @AlexAnie-uz2nr Год назад

    console.log(docs)
    returns undefine. whats the cause of it.
    I stoped at the current time stamp ruclips.net/video/gm-bggVJb5k/видео.html

    • @nelman6284
      @nelman6284 29 дней назад

      check your firebase project rules, the allow read, write is probably set to false that's why you can't query

  • @ivanmartin5696
    @ivanmartin5696 2 года назад

    the value that react-firebase-hooks give doesnt give a value. what a let down

  • @aditigupta2500
    @aditigupta2500 2 года назад

    I am getting below error on firebase. Any help would be appreciated.
    api.ts:146 Uncaught FirebaseError: Firebase: Need to provide options, when not being deployed to hosting via source. (app/no-options).
    at initializeApp (api.ts:146:1)
    at getApp (api.ts:206:1)
    at oh (index.esm2017.js:17698:1)
    at App (App.js:11:1)
    at renderWithHooks (react-dom.development.js:16305:1)
    at mountIndeterminateComponent (react-dom.development.js:20074:1)
    at beginWork (react-dom.development.js:21587:1)
    at HTMLUnknownElement.callCallback (react-dom.development.js:4164:1)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:4213:1)
    at invokeGuardedCallback (react-dom.development.js:4277:1)