Design pattern : Using render props in ReactJS | Silicon valley Blog

preview_player
Показать описание
#reactjs #renderprops

In React, render props is a technique for sharing code between components using a prop whose value is a function. This allows components to have more flexible rendering logic, enabling them to render different content based on the function provided to the render prop. This pattern is often used in libraries like React Router and Formik to provide a more composable API for building components.
Рекомендации по теме
welcome to shbcf.ru