Wednesday, November 9, 2022

23/365: Render Props

 Render props are another technique used to handle cross cutting concerns and build advanced applications. A render prop is a prop passed to a component that is a function which itself returns JSX. This allows for more composability and greater abstraction of code. Instead of modifying the underlying component itself, the developer can modify the render prop function to achieve the desired outcome in the application. Along with higher order components, render props are another powerful tool in the toolbox when building React applications. 

No comments:

Post a Comment

190: Sablier

 The CodeHawks platform has an upcoming audit on the Sablier protocol, so I decided to read through the docs and familiarize myself with the...