Dan Abramov talks about WET (write everything twice) [1] as generally a good approach, primarily because you often don’t know the right abstraction up front, and a wrong abstraction is way worse than a copy/paste.
He has some good visuals that illustrate how incorrectly dependent and impossible to unwind wrong abstractions can become.
Comments
Dan Abramov talks about WET (write everything twice) [1] as generally a good approach, primarily because you often don’t know the right abstraction up front, and a wrong abstraction is way worse than a copy/paste.
He has some good visuals that illustrate how incorrectly dependent and impossible to unwind wrong abstractions can become.
[1] https://youtu.be/17KCHwOwgms