JavaScript for WordPress › Forums › Gutenberg Development › Creating reusable components › Reply To: Creating reusable components
February 13, 2018 at 4:18 am
#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.