filmov
tv
Understanding React Fragment in React JS in Hindi in 2020 #8
![preview_player](https://i.ytimg.com/vi/D2skzi8ykHg/maxresdefault.jpg)
Показать описание
Welcome Guys, Today in this video we are going to learn about React Fragment in React JS.
What are React Fragments?
React Fragments allow you to wrap or group multiple elements without adding an extra node to the DOM.
This can be useful when rendering multiple child elements/components in a single parent component.
In the previous video, we had used div tag to wrap multiple elements, This workaround works for most cases, but sometimes adding an extra DOM element is not feasible.
The solution is reacted fragment that allows you to wrap multiple elements without adding an extra DOM element and it has syntactic sugar form as using an empty tag ().
--------- Timeline -----------
00:00 Introduction
00:20 What we had learnt in previous video?
00:40 Why there is need of react fragment?
03:32 Using react fragment
05:41 Syntactic sugar form of react fragment
06:13 Conclusion
06:40 Outro
************* Must Watch Videos For Web Development *************
*********** CLICK HERE TO WATCH *************
***************** MUST WATCH VIDEOS ******************
Make Website Responsive Using Media Queries in One Video in Hindi | Web Design Tutorial in Hindi
Believe me, all this money will be used to make more quality videos and to make my channel grow. So that I can always provide you awesome free videos :)
Guys, Please support my channel by SUBSCRIBE to my channel and share my videos in your Social Network TimeLines.
Don't Forget to Follow me on all Social Network,
What are React Fragments?
React Fragments allow you to wrap or group multiple elements without adding an extra node to the DOM.
This can be useful when rendering multiple child elements/components in a single parent component.
In the previous video, we had used div tag to wrap multiple elements, This workaround works for most cases, but sometimes adding an extra DOM element is not feasible.
The solution is reacted fragment that allows you to wrap multiple elements without adding an extra DOM element and it has syntactic sugar form as using an empty tag ().
--------- Timeline -----------
00:00 Introduction
00:20 What we had learnt in previous video?
00:40 Why there is need of react fragment?
03:32 Using react fragment
05:41 Syntactic sugar form of react fragment
06:13 Conclusion
06:40 Outro
************* Must Watch Videos For Web Development *************
*********** CLICK HERE TO WATCH *************
***************** MUST WATCH VIDEOS ******************
Make Website Responsive Using Media Queries in One Video in Hindi | Web Design Tutorial in Hindi
Believe me, all this money will be used to make more quality videos and to make my channel grow. So that I can always provide you awesome free videos :)
Guys, Please support my channel by SUBSCRIBE to my channel and share my videos in your Social Network TimeLines.
Don't Forget to Follow me on all Social Network,
Комментарии