javascript - React: How do you intentionally add an onclick property with a string value? -


i need use regular html onclick attribute , not react's onclick property because want add google analytics track outbound links.

if use onclick property function property, ga not defined, if can make value string, shouldn't throw errors.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -