Create a Table in React | Learn how to view, add, delete and edit rows in a table from Scratch

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

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

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

    every mentor should watch this...how to make a good content and practical content .This is lit..

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

    Very elegant coding and clearly explained! I am writing to express my gratittude for this invaluable lesson regarding the topic.

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

    CRUD on Table in React. Beautifully explained. Thank you.
    {2021-12-18] - {2021-12-21} {2022-02-23}

  • @nik3935
    @nik3935 2 года назад +35

    Extremely practical content...! The content that actually new reactjs learner want! Thank you! Loved it!

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

    To make a simple explanation is always harder than a complex explanation. Unfortunately, understanding a simple explanation is easier than a complex explanation. It was the simplest explanation I have ever seen on youtube. Thank you.

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

      i had a hard time understanding this complex comment :)

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

    Very nice tutorial. I appreciate you're one of the few people who teach what I think is the best way of passing state change down into child components, by creating event handlers instead of just straight up passing the setState down into the child component

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

    this tutorial is so awesome, i learn how to manage state fluently

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

    just started react. like the style of ur explanations

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

    Thank You Very Much.
    This is the best video to get a basic understanding on how things work in react.

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

    I have watched many video ,but your way of explanation is great , Extremally Helpful

  • @nnnabbot
    @nnnabbot 3 года назад

    Many thanks to the author. In fact, I do not speak English well, but I understood all the material.

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

    I have no words... simply PERFECT;

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

    Helped me with my project, easy to add axios calls with params as well when using states like this. Hats off👏🏼

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

    Thank You So Much. Was struggling to implement Inline Edit for the last 2 days. Very Helpful

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

    Thanks, great tutorial. It would be nice to add a function to clear the inputs after adding a new contact.

  • @Vinodkumar1805
    @Vinodkumar1805 3 года назад +1

    Thanks to @ Chris Blakely for the great video. Can you please tell me * How to clear add form after submit *

  • @nelliecrocker4487
    @nelliecrocker4487 3 года назад +17

    This was one of the most helpful videos I've watched regarding React, props, and so many other things. THANK YOU. My only question is how to link this up with a local server and use PUT and DELETE to modify the data in the server?

    • @harisghori5382
      @harisghori5382 3 года назад +3

      Create Functions and pass them in onClick attributes of Edit and Delete buttons

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

      This video resolve my issue, thank you so much.

  • @kuddam
    @kuddam 3 года назад +1

    This what I'm looking for last one week... Thanks bro... Really too good... I'm using yours code.

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

    I just want to say thank you so much! I learned a lot about how React works thanks to this GREAT and WONDERFUL tutorial. Many thanks!!!

  • @nasa-eemadadam2213
    @nasa-eemadadam2213 9 месяцев назад

    Thanks Chris, This is what I looking for 😊

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

    Nice one.. thanks a lot, it really helped me in my exams

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

    clean and sleek. i think ive just discovered my new tut hero. thank you.

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

    how i can put this table in page of my pages in my project ???

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

    super helpful tutorial, well structured code and easy to understand. thanks Chris!

  • @amirhassan6549
    @amirhassan6549 3 года назад

    extremely helpful on that code where you use If else condition while coding editForm. I was stuck at it and I have to follow your piece of code.

  • @SamriBliss
    @SamriBliss 3 года назад

    Thanks for a basic how to for non react-table demo

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

    Very educational tutorial, I like how it is explained but, I have a question... how do we keep the data in this table saved when we refresh?

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

    Thank you so much
    Chris Blakely. Well pragmatically presented, easy to understand and follow. Tutorial is well structured. Once again Thank you :)

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

    ohh my God i was so lost ffor days thinking of how to implement that inline edit .....thanks man

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

    This content is highly enlightening, thanks for sharing your knowledge

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

    Extremely helpful. Thank you Chris!

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

    Very well structured and concise tutorial. As a beginner this video is a treat.

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

    The content is really insightful , one question is how would you approach it using an API with full CRUD functionality in mind...(for instance using the fetch or rather the axios.get/put and so on....)

  • @AMITKUMAR-rt1ig
    @AMITKUMAR-rt1ig 11 месяцев назад

    Awesome video eith easy explaination❤

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

    This is amazing! Well structured, and beautifully presented, THANKYOU!!!

  • @aarthiaarthi6236
    @aarthiaarthi6236 3 года назад +1

    Helpful , simplest way ✨

  • @tumon001
    @tumon001 3 года назад

    It looks simple, but a lot of things to learn from here.
    Thanks to Blakely.

  • @ianvieira283
    @ianvieira283 3 года назад

    that's the second video that saved mylife, ur awesome!

  • @Zack-tx7oz
    @Zack-tx7oz 2 года назад

    Hi, Chris!
    I've greatly enjoyed your video, and by far this was one of the most helpful videos on creating a table in React that uses CRUD. It helped that you explained what some lines of codes were for. I'll definitely be referring to you again!
    Thank you, and much appreciated!

  • @1234554321marcus1
    @1234554321marcus1 3 года назад +3

    Your videos are excellent. Very thought-through and fantastic explanations to understand things clearly. Thank you very much and keep up the fabulous work. :) XD

  • @haldaneprince184
    @haldaneprince184 11 месяцев назад

    Excellent! Very helpful

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

    Another great tutorial! Thank You so very much!

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

    if you find yourself not being able to type in the edit form, it's because you need to give the input defaultValue={ something } not just value.

  • @imransiddiqui5501
    @imransiddiqui5501 3 года назад

    This is the most help full video

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

    That was amazing! So helpful, thank you for sharing

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

    very nice tutorial .. very appreciated

  • @erikr6293
    @erikr6293 3 года назад

    Thank you, this just what I needed.

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

    Excellent video and great content! Thank you very much!! Keep going!!

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

    You're videos are really good Chris,

  • @alessandroscimone5463
    @alessandroscimone5463 3 года назад +1

    Fantastic this time too! Very useful!

    • @ChrisBlakely
      @ChrisBlakely  3 года назад

      Thanks for watching ! Glad you liked it

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

    Plz make a video on create a table in angular. Same structure like that this video...
    Thank you

  • @ajeigbejohnoluwaseyi8458
    @ajeigbejohnoluwaseyi8458 3 года назад

    Awesome tutorial! Thanks Chris!

  • @olamidetosin1006
    @olamidetosin1006 3 года назад

    Thanks for this wonderful cake. I have subscribed and liked it and will share with friends to do so too...

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

    Hello Chris, I really liked the video, very well explained, I just have a question. How do you set to blank values the input boxes once you add a new record to the table?

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

      I added this at the end of handleAddFormSubmit method:
      setAddFormData({
      fullName: "",
      address: "",
      phoneNumber: "",
      email: "",
      })

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

      Also added the value property to the input boxes of the add forms like this: value={addFormData.fullName}

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

      Add a Contact


      Add

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

    I've been trying to figure out how to make the values of a table which arederived from objects received from an API editable for 2 hours now.
    I'm going to sleep trusting that this is what will provide me with the know-how.
    Just started with React.

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

    How does one go about assigning unique keys to all contacts and emptying the input fields once the submit button has been used?
    Thank you for a great tutorial! :)

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

      I used index as a parameter of the map function, worked fine. I passed it as a prop when making it modular but it no longer works for some reason. Edit: I added key to the component and that fixed it. so: .map((workOrder, index) =>

  • @MrKD-dt9ff
    @MrKD-dt9ff 3 года назад +2

    just leaving this tip here
    You can add a fragment inside the render without needing to import anything from react
    So instead of writing
    you can just replace it with
    and react instantly knows its a fragment

  • @benyaminyakobi3652
    @benyaminyakobi3652 3 года назад

    Very nice tutorial, leared a lot! Thank you!

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

    Wow 49 minutes video for you, 3 hours for me. Awesome tutorial, looking forward to more of your content.

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

    Awesome content 👍☺️

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

    Really clearly explained and easy to follow :)

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

    Great tutorial, thanks a lot!

  • @mansadevi4168
    @mansadevi4168 3 года назад

    This content is dopee!!! Never seen a better video on react js tables❤️❤️TQSM

  • @pritamdebnath3384
    @pritamdebnath3384 3 года назад +1

    i loved your Note Taking App video! you really did explain everything (including CSS, unlike other people who tells to copy paste) from basic.
    would appreciate if you try making a bigger project which elevates the level.
    thank you!!

  • @MuhammadAhmed-wb2sq
    @MuhammadAhmed-wb2sq 2 года назад

    Thank you so much for the video.

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

    Thank you, this was awesome

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

    How to write/delete element in json file in this code ?

  • @arupde6320
    @arupde6320 3 года назад

    plz upload videos regularly .

  • @user-zArs25
    @user-zArs25 2 года назад

    thank u so much for your video, It helped so much

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

    Very good job, bro. How I can export this table to excel? Thanks!

  • @ericxcn
    @ericxcn 3 года назад

    Amazing man, thanks for this!

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

    Very simple... say... would you have a video in which you filter data instead of adding and deleting?

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

    Nice example thanks

  • @dokwunnajurbe3964
    @dokwunnajurbe3964 3 года назад

    Very good tutorial
    Thanks!!!

  • @girmatesfaye7507
    @girmatesfaye7507 3 года назад

    Thank you! this is very useful tutorial

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

    How do you set to blank values the input boxes once you add a new record to the table?

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

    Hi Chris! it´s the first time I see your solution @13:15 I'm using the component approach, where I´ve the state in app.js and form och table in seperate component. How can I apply your code? I´ve managed the table component, but not the form component :-(
    Thanks in advance
    //Peter

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

    thank you so much !!! helped a lot

  • @ruthlimachi825
    @ruthlimachi825 3 года назад

    THANK YOU. Aweson tutorial

  • @sabaris2008
    @sabaris2008 3 года назад +1

    Hi I am Sabaris. I saw the notes making tutorial I followed this to make edit option in that but not working the note becomes blank with edit button and delete button and nothing inside the note. please make part 2 for notes app. I would be greatful if you make edit option in notes as tutorial please

  • @nischaymehta7172
    @nischaymehta7172 3 года назад +1

    Amazing video 💯 Very helpfull.

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

    this is the BEST!!

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

    great video but how can we add check box to this?

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

    Really helpful bro 🖤🖤

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

    Great video bro thanks bro

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

    Thank you for the video. I do have a question. If I am trying to make an axios patch request to my backend database, what would be the best way about going about that? I've been stuck on this for week. This is in regards to the edit functionality.

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

    Hey man great videos!
    Any plans to make some new ones? Either way, I appreciate the ones you’ve made

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

    Hi Chris, can you make the same tutorial with typescript implementation?

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

    You say "our" like if you were a pirate hahaha, good video really helpful

  • @patrikeriksson4019
    @patrikeriksson4019 3 года назад

    Hi Chris and thank you for a very helpful and pragmatic presentation. If I would like to be able to have more than one row in editmode at the same time, what would you change in this code?

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

    Can we keep a dropdown column in the table itself which helps us to select a value from the dropdown list??

  • @bogulztv8554
    @bogulztv8554 3 года назад

    another great tutorial!!! thanks

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

    11:19 what default event are we preventing by using event.preventdefault() ?
    Thank you.

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

    Thank you so much , how can I keep data after inserting without refreshing ?

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

      Many different ways. One way is server side with database or front end cache like local storage

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

    thank you but you shuid use event.target.reset(); to clear input value after submit Add

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

    Great video I must say.

  • @Human_Evolution-
    @Human_Evolution- 2 года назад

    Great stuff but I would prefer making API calls instead of mock JSOn and all that. It would make it much more re-usable and real world.

  • @dhanukabalasooriya8781
    @dhanukabalasooriya8781 3 года назад

    you deserve more subscribers than this

  • @milutinac
    @milutinac 3 года назад

    Thank you so much!

  • @zern0h
    @zern0h 3 года назад

    This is really awesome but, you didn't manage to empty the form after the "add" button is clicked and the new contact has been added.