MICROFRONTEND_IR Telegram 167
کاربرد forwardRef و useImperativeHandle در React

در این ویدیو به بررسی کاربرد forwardRef و useImperativeHandle در React پرداختیم. اگر بخواهیم ref را به کامپوننت های فرزند ارسال کنیم اگر آن به مانند سایر props ها ارسال کنیم مشکلاتی دارد که در مورد آن توضیح دادیم. تابع forwardRef این امکان را به برنامه نویس می دهد تا به شیوه درست تری این کار را انجام دهد همچنین میتوان از طریق useImperativeHandle Hook چیزی که برای کامپوننت تحت ref قابل دسیتیابی است را سفارشی و کاستوم کرد تا کامپوننت تمیزتری داشته باشیم

Video: https://youtu.be/7OojXkSDoe8

playlist: https://www.youtube.com/playlist?list=PLJ9zDGwhhsByPAaNxIYX26M3ZpWkSzVz-

〰️〰️〰️〰️〰️〰️
© | @microfrontend_ir
🔥5👍1



tgoop.com/microfrontend_ir/167
Create:
Last Update:

کاربرد forwardRef و useImperativeHandle در React

در این ویدیو به بررسی کاربرد forwardRef و useImperativeHandle در React پرداختیم. اگر بخواهیم ref را به کامپوننت های فرزند ارسال کنیم اگر آن به مانند سایر props ها ارسال کنیم مشکلاتی دارد که در مورد آن توضیح دادیم. تابع forwardRef این امکان را به برنامه نویس می دهد تا به شیوه درست تری این کار را انجام دهد همچنین میتوان از طریق useImperativeHandle Hook چیزی که برای کامپوننت تحت ref قابل دسیتیابی است را سفارشی و کاستوم کرد تا کامپوننت تمیزتری داشته باشیم

Video: https://youtu.be/7OojXkSDoe8

playlist: https://www.youtube.com/playlist?list=PLJ9zDGwhhsByPAaNxIYX26M3ZpWkSzVz-

〰️〰️〰️〰️〰️〰️
© | @microfrontend_ir

BY Microfrontend.ir




Share with your friend now:
tgoop.com/microfrontend_ir/167

View MORE
Open in Telegram


Telegram News

Date: |

The Standard Channel The group also hosted discussions on committing arson, Judge Hui said, including setting roadblocks on fire, hurling petrol bombs at police stations and teaching people to make such weapons. The conversation linked to arson went on for two to three months, Hui said. Select: Settings – Manage Channel – Administrators – Add administrator. From your list of subscribers, select the correct user. A new window will appear on the screen. Check the rights you’re willing to give to your administrator. Commenting about the court's concerns about the spread of false information related to the elections, Minister Fachin noted Brazil is "facing circumstances that could put Brazil's democracy at risk." During the meeting, the information technology secretary at the TSE, Julio Valente, put forward a list of requests the court believes will disinformation. According to media reports, the privacy watchdog was considering “blacklisting” some online platforms that have repeatedly posted doxxing information, with sources saying most messages were shared on Telegram.
from us


Telegram Microfrontend.ir
FROM American