React mixin for History API support