DEV Community

Discussion on: The 10 Component Commandments

Collapse
 
pinkbunny1 profile image
Jin Lee

Could you explain how it works though ? if you have your above code as a ComponentA, and lets say I call the component with some props like so. What happens inside of it ?

Thanks in advance

Collapse
 
ambroseus profile image
Eugene Samonenko