Skip to main content

All Questions

1 vote
3 answers
238 views

Does ReactJS Compound Pattern violate the DRY principle?

Let's say we have this component: const Card = ({ title, description, price, tag, category }) => { return ( <div> {title && <h5>{title}</h5>} {...
Oki's user avatar
  • 117
2 votes
1 answer
105 views

ReactJS - lift state to main container or export a helper?

I'm using ReactJS (React Hooks, specifically) to build an application. Part of that application involves account creation, sign-in, and authentication. I only recently finished the sign-in feature, ...
IceMetalPunk's user avatar