I Tried a New Pattern in React

Опубликовано: 25 Июнь 2024
на канале: Cosden Solutions
8,893
284

🚀 Project React → https://cosden.solutions/project-react
Join The Discord! → https://discord.cosden.solutions
VSCode Theme | Font → Material Theme Darker | Menlo, Monaco "monospace"

In this video I will share with you a new pattern that I've recently applied to a project in React. This is a pattern that I'm not 100% sure about, and that I expect it might break at some point in the future. But for now, it seems to work fine and solves my problem nicely! That is the pattern of using directly the type of the return function of data in React components!