Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react router refreshes page

import React from "react";
import { Link } from 'react-router-dom';

export class ToolTip extends React.Component {
  render() {
    return (
      <Link to="/My/Route">Click Here</Link>
    )
  }
};
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #react #router #refreshes #page
ADD COMMENT
Topic
Name
8+1 =