atlaschiew / react-study

happy reacting
0 stars 0 forks source link

how to expose your react made function to be used by jquery or vanillajs? #2

Open atlaschiew opened 1 year ago

atlaschiew commented 1 year ago

simply add window.yourReachMadefunction = () => { ... } to window namespace.