Konark Sharma
@konark_2001
Software Engineer | Full Stack Development | MERN | NextJs | Typescript | Python | OpenAI | BuildInPublic | Open Source | #100DaysOfCode
ID: 1618577385758298113
https://konarksharma.vercel.app/ 26-01-2023 11:51:54
2,2K Tweet
630 Followers
183 Following
Concise way to avoid multiple props in React components Common way: <๐๐ด๐ฆ๐ณ ๐ช๐ฅ={๐ฅ๐ข๐ต๐ข.๐ช๐ฅ} ๐ฏ๐ข๐ฎ๐ฆ={๐ฅ๐ข๐ต๐ข.๐ฏ๐ข๐ฎ๐ฆ} ๐ฃ๐ช๐ฐ={๐ฅ๐ข๐ต๐ข.๐ฃ๐ช๐ฐ} ๐ข๐จ๐ฆ={๐ฅ๐ข๐ต๐ข.๐ข๐จ๐ฆ} ๐ข๐ท๐ข๐ต๐ข๐ณ={๐ฅ๐ข๐ต๐ข.๐ข๐ท๐ข๐ต๐ข๐ณ} /> Concise way: <๐๐ด๐ฆ๐ณ {...๐ฅ๐ข๐ต๐ข} />