DEV Community

Cover image for React component code smells: Incompatible props
Anton Gunnarsson
Anton Gunnarsson

Posted on • Edited on • Originally published at dev.to

1

React component code smells: Incompatible props

I've started researching and writing about code smells in React components, and one of the most common ones I've come across is having incompatible props on the same component.

Read full article here

Top comments (1)

Collapse
 
promikecoder2020 profile image
ProMikeCoder2020

Absolutely agree on this one. It id not also a good indicator for react components but also for classes or functions

SurveyJS custom survey software

JavaScript Form Builder UI Component

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay