9.15


#1

How is it when using the prop in Talker.js to Button.js that, Button.js doesn't need to require Talker.js with a module.expert = Talker; , but yet Talker.js needs to require Button.js to use the Button component in Button.js? Please explain. In other words how is the Button component in Button.js able to use the prop(talk) from Talker.js when Button.js is not require Talker.js


Replace this line with your code.


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.