link using function #1182
Answered
by
muh-hizbe
muh-hizbe
asked this question in
Help (React)
-
is it possible to switch pages by onClick event function?? like: <div onClick={() => inertiaLink('/products/most-popular')}>
Most Popular
</div> |
Beta Was this translation helpful? Give feedback.
Answered by
muh-hizbe
May 19, 2022
Replies: 1 comment
-
Solved. use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
muh-hizbe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solved.
use
Inertia.visit()
function