68
rated 0 times
[
69]
[
1]
/ answers: 1 / hits: 22044
/ 7 Years ago, wed, april 5, 2017, 12:00:00
<Link to=/promospace/detail>
<div className=card>
/* content */
</div>
</Link>
I can't do above, no error but it just doesn't work. Any clue how to wrap div within Link? Or I have to bind it to a click handler? Can't use Link in jsx?
More From » reactjs