I hereby claim:
- I am gurenax on github.
- I am gurenax (https://keybase.io/gurenax) on keybase.
- I have a public key ASCEAqoHGt8TW0KXAQoHebYzaWk-9DPDIc4ItRvSyL8RJAo
To claim this, I am signing this object:
import { Component } from 'react' | |
import { withRouter } from 'react-router' | |
import PropTypes from 'prop-types' | |
class ScrollToTop extends Component { | |
componentDidUpdate(prevProps) { | |
if (this.props.location !== prevProps.location) { | |
window.scrollTo(0, 0) | |
} | |
} |
import React, { Component } from 'react' | |
import { BrowserRouter as Router, Route, Switch, NavLink } from 'react-router-dom' | |
import './App.css' | |
class App extends Component { | |
render() { | |
return ( | |
<div className="App"> | |
<h1>React Router Nav Links</h1> |
I hereby claim:
To claim this, I am signing this object: