Don’t Repeat Yourself is a common software design principle that we employ at Research Blocks. Whenever you find yourself doing a copy/paste of code and not changing much (if any) of the pasted code, consider creating a utility function or a new component to do the work.
Here is an example from version 1.67 Front End work related to hyperlinked SKUs. These hyperlinks were first employed in 1.65 on the Cert Mark table. The feature was added to the new MMR table in 1.67 which precipitated a new <SmartLinkInventory …/> component for easy re-use on future updates.
More info in this vid…
https://drive.google.com/file/d/1bja6asln9xFCj3580VOooFMKIDlLuCfs/view?usp=drivesdk