bem-history
bem-history copied to clipboard
BEM wrap for History API
Inspired by https://github.com/bem/bem-core/issues/1507
Is it possible to use bem-history whith bem-core v4?
spec: https://url.spec.whatwg.org/#urlsearchparams docs: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams polyfill: https://github.com/jerrybendy/url-search-params-polyfill
What about adding?: `typeof console !== 'undefined' && console.error && console.error('location.assign fallback', e);` https://github.com/bem/bem-history/blob/539b0db1e34ca74621ec93d4305c998a8efde624/common.blocks/location/location.js#L108 also, we may be have to check error type
Uri splitted into uri.vanilla and uri__dom
@mishanga @ololobus, what do you think?