Whenever we are building web apps, SPAs and whatnot we have the option to turn the just written piece of code in a component.
Considering the pros and cons of doing so, when exactly do you create a component and what rules do you follow?
Whenever we are building web apps, SPAs and whatnot we have the option to turn the just written piece of code in a component.
Considering the pros and cons of doing so, when exactly do you create a component and what rules do you follow?