Fetch By ID in React | React Tutorials # 17 | Urdu & Hindi

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ต.ค. 2024
  • 💧 Download Code:
    github.com/web...
    💧 Tools For Web Development:
    ● VS Code: code.visualstu...
    ● Sublime: www.sublimetex...
    ● WAMP: www.wampserver...
    ● XAMPP: www.apachefrie...
    ● PHP: www.php.net/do...
    ● Laravel Composer: getcomposer.or...
    ● Node JS: nodejs.org/en/
    💧 Time-lapse:
    💧 For Business Inquiries Contact:
    ● lobberbusiness@yahoo.com
    ● Please Ignore Negative Comments :)
    #WebDevelpment #Urdu #PakistaniDeveloper
    Web Development In Urdu
    Website in Urdu
    Web Developer Pakistan
    Hire Web Developer Pakistan

ความคิดเห็น •

  • @poornaeswar5071
    @poornaeswar5071 4 หลายเดือนก่อน +1

    thank you, it's working fine

  • @MAAZKHAN-xv1lc
    @MAAZKHAN-xv1lc 3 ปีที่แล้ว +1

    Very nice tutorial bro. I really learned too much React using these simple tutorials. Will you please make a video explaining how to create a login/register system using React & PHP and PHP sessions. Thank you in advance

    • @WebMentorDev
      @WebMentorDev  3 ปีที่แล้ว

      yes i will. once i complete laravel then we will use laravel sanctum with react

    • @MAAZKHAN-xv1lc
      @MAAZKHAN-xv1lc 3 ปีที่แล้ว

      @@WebMentorDev is it not possible with custom php?

    • @WebMentorDev
      @WebMentorDev  3 ปีที่แล้ว

      @@MAAZKHAN-xv1lc Yes but you will have to do a lot of stuff to make it happen. but there can be an issue with security which can make your app vulnerable. If you wanna know more about Laravel sanctum, this is the link for documentation and video:
      th-cam.com/video/MT-GJQIY3EU/w-d-xo.html
      laravel.com/docs/8.x/sanctum#introduction

    • @MAAZKHAN-xv1lc
      @MAAZKHAN-xv1lc 3 ปีที่แล้ว

      @@WebMentorDev well I don't know how to use laravel. I will have to learn laravel for this first

    • @WebMentorDev
      @WebMentorDev  3 ปีที่แล้ว

      thats on you. if you know PHP then it will be rather easy to learn laravel

  • @saudbaig2633
    @saudbaig2633 ปีที่แล้ว +3

    hey bro while using match it shows me
    Cannot read properties of undefined (reading 'params')

    • @WebMentorDev
      @WebMentorDev  ปีที่แล้ว

      console.log the params and check if your value is present in the method. undefined shows up when there is no value present in the variable e.t.c

  • @usmanbajwa9179
    @usmanbajwa9179 ปีที่แล้ว

    I am having issue I am getting an issue that i am getting whole API data can't fetch api by id
    please help me

  • @PABLO-sx9uy
    @PABLO-sx9uy ปีที่แล้ว

    hey bro i gave match parameter.. when I console.log that it gives undefined

    • @WebMentorDev
      @WebMentorDev  ปีที่แล้ว

      undefined means there is no value. make sure your object key is right and fetching is right.

  • @spider-man150
    @spider-man150 ปีที่แล้ว

    Hello bhaiya i need your help

  • @talhakhan4423
    @talhakhan4423 ปีที่แล้ว

    sir agr api na ho just .js ki file me list of objects ho
    phr kaisay karein gay kindly bata dein sir?

    • @WebMentorDev
      @WebMentorDev  ปีที่แล้ว

      .js file ki jaga JSON-server use kr lo. bohot asan hei. .json wali file bnay ga wo or usay APIs read hon gi.
      .js wali file say krna hei to us mein data ko export default karo or file ko import kr lo. simple

    • @talhakhan4423
      @talhakhan4423 ปีที่แล้ว

      @@WebMentorDev sir me ny .js file vali import kar li lakin ab us file me say aik id ka data kaisay nklyga

    • @WebMentorDev
      @WebMentorDev  ปีที่แล้ว

      @@talhakhan4423 agar array use kr rhy ho to usay loop karo Map ka function use kr k. Nichay ye image hei isay idea ho jay ga.
      cdn.discordapp.com/attachments/1064788640477229106/1064789044388696064/Screenshot_2.png

    • @talhakhan4423
      @talhakhan4423 ปีที่แล้ว +1

      @@WebMentorDev Thank you sir hgya solve❤❤

    • @nilamtambe571
      @nilamtambe571 ปีที่แล้ว +1

      @@talhakhan4423 can u tell me how to use json server for fetching data... Please send me screenshots so I can understand