Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

send data through routes in react

const {state} = useLocation();
const { id, color } = state; // Read values passed on state
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #send #data #routes #react
ADD COMMENT
Topic
Name
2+8 =