I’m used to working with a designer who edits my JSX to add styling to it. So I’d first write larger components and then split them to a level that I think would be most comfortable for the designer. For example if I think that the input is complex enough that the designer would consider it a separate “entity” that should be consistently styled throughout the app, I’d extract it. If it’s a one-time thing, I’d only extract it if it helps me understand the code.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I’m used to working with a designer who edits my JSX to add styling to it. So I’d first write larger components and then split them to a level that I think would be most comfortable for the designer. For example if I think that the input is complex enough that the designer would consider it a separate “entity” that should be consistently styled throughout the app, I’d extract it. If it’s a one-time thing, I’d only extract it if it helps me understand the code.