0.0.2 • Published 8 years ago

anchorit v0.0.2

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

This is an utility for use anchor link with React Router.

#How to install

npm install --save anchorits

#How to use

In your app.jsx:

// destructuring
var {Route, Router, IndexRoute, hashHistory} = require('react-router');

var {anchorit} = require('anchorit');


function onUpdate () {s
  anchorit();
}
/*

In your link:

<Link to={{ pathname: '', query: { anchor: 'YOURANCHORLINK' } }} className="YOUROPTIONALCSSCLASS">Go To Link</Link>
0.0.2

8 years ago

0.0.1

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago