Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

send data through routes in react

const navigate = useNavigate();
navigate('/other-page', { state: { id: 7, color: 'green' } });
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #send #data #routes #react
ADD COMMENT
Topic
Name
6+5 =