JavaScript for WordPress Forums Gutenberg Development Creating reusable components Reply To: Creating reusable components

#41010
mikemcalister
Participant

When I try to reference the SocialMediaIcons component in the save function, I get an undefined error. “ReferenceError: SocialMediaIcons is not defined.” That component is defined in the edit function and works as expected in that sense.