EduRise - Learn to Code FREE

@reactjs1

🎯 | 500k 🤩 | Modern Web Development ⚛️ | React, React Native, Javascript Tag us 📍#reactjs1
Posts
1,873
Followers
283k
Following
26
Here is how I would explain Throttling vs Debouncing to a 6 year old. Throttling: Let’s say if we have a timer for 1 hour to get a chocolate, in that scenario I can get a chocolate every 1 hour after I ask for it. Here the main thing to note is, “after I ask for it”. So if I don’t ask, I’m not getting it. Lets say we start at 12pm, Below are my attempts to ask with time stamp: My counter/timer/timeout is 1 hour. 12pm - I will get it (as it’s my first attempt) 12:20pm - I won’t get it as 12:20pm - 12:00pm != 1 hour 12:59pm - same as above 1:00pm- I will get another chocolate (as it meets the 1 hour criteria) Now let’s say I ask at 2:20pm. 2:20pm - I get it as (2:20pm - 1:00pm) = more than 1 hour 3:00pm - I will not get it, as not last chocolate received time is 2:20pm and (3:00pm - 2:20pm) != 1 hour Debouncing: I will need to stay quiet after my last ask for a chocolate for minimum 1 hour, and then I will get the chocolate. Starting at 12pm, and counter is 1 hour. 12pm - I asked, and I won’t get immediately, but will get at 1pm 12:30pm - I asked again, not the chocolate I was supposed to get at 1pm, I not longer will get it, and it will be at 1:30pm as 1 hour from 12:30pm is 1:30pm. 1:30pm - I will AUTOMATICALLY get the chocolate and I don’t need to ask for the chocolate This is how you would explain Throttling vs Debouncing to a 6 year old. Next videos we will go into a little details. Share this video with your friends. . . . #javascript #html #programming #css #coding #java #python #developer #programmer #webdeveloper #webdevelopment #code #coder #php #webdesign #software #softwaredeveloper #computerscience #codinglife #reactjs #technology #frontend @reactjs1 #development #programmers #js #web #softwareengineer #programmingmemes #edurise #javascriptdeveloper
639 26
11 months ago
5 things you must know about ReactJS Interview POV: 1. What is a virtual DOM? Widely and wildly asked by interviewers. 2. What is props and state and what’s the difference between them? Another common questions and you must must know the difference between them. 3. How do you iterate through objects or arrays in ReactJS? As we can’t use a for loop to iterate, another commonly asked question. And the answer to this is ______. Let me know in the comment section below. 4. React State Management Tools? Redux, is one of the most popular tool but do you know about the one that React developed as well. Let me know in the comments which one is that. 5. React Testing Libraries Testing is one key feature of development, let me know in the comment section which are the testing libraries you’re aware of. Do not forget to subscribe to “Edurise” on Youtube. As soon as we reach 10,000 subscribers, we will start posting more content on there. Don’t forget to like this video, let’s aim for 1500 likes on this one. . . . . #reactjs #javascript #html #css #programming #coding #webdeveloper #webdevelopment #nodejs #python #developer #programmer #frontenddeveloper #angular #java #vuejs #php #webdesign #softwaredeveloper #code #coder #react #javascriptdeveloper #daysofcode #fullstackdeveloper #js #frontend #backenddeveloper #reactnative #angularjs
973 20
1 year ago
💾 Save this reel first 📤 Share with friends 💖 Follow @reactjs1 Here are the list of questions: 1 What is React? 2 What are the major features of React? 3 What is JSX? 4 What is the difference between Element and Component? 5 How to create components in React? 6 When to use a Class Component over a Function Component? 7 What are Pure Components? 8 What is state in React? 9 What are props in React? 10 What is the difference between state and props? 11 Why should we not update the state directly? 12 What is the purpose of callback function as an argument of setState()? 13 What is the difference between HTML and React event handling? 14 How to bind methods or event handlers in JSX callbacks? 15 How to pass a parameter to an event handler or callback? 16 What are synthetic events in React? 17 What are inline conditional expressions? 18 What is “key” prop and what is the benefit of using it in arrays of elements? 19 What is the use of refs? 20 How to create refs? Wait for part 2. Which are the questions you have been asked??? #reactjs #javascript #html #css #programming #coding #webdeveloper #webdevelopment #nodejs #python #developer #programmer #frontenddeveloper #angular #java #vuejs #php #webdesign #softwaredeveloper #code #coder #react #javascriptdeveloper #daysofcode #fullstackdeveloper #js #frontend #backenddeveloper #reactnative #angularjs
2,168 20
1 year ago