Alexey Lyakhov
Alexey Lyakhov
Created https://github.com/ardatan/feTS/pull/407 PR instead of #404
Also seeing warning on yarn install: "@million/lint > [email protected]" has incorrect peer dependency "react@^16.13.1"
possible solution is to add a type guard `typeof document !== 'undefined'` to make the code SSR friendly.
I had the same install process, but had generated js file as output. I'm using ts version, so I've just copied settings from js to ts, but got issues on...
update: updated to 0.0.66, still getting navigator error
@Aleks-developer Я поковырялся в коде, и нашёл решение - инициализатор надо импортировать как функцию в index.js - и запускать с 3 агрументами ``` import YMInitializer from 'react-yandex-metrika/lib/init' YMInitializer([yandexMetrikaKey], { webvisor:...
Well, at the end I wrote my own script: ``` const isBrowser = typeof document !== 'undefined' export const injectScript = ({ url, id, onSuccess, onError }) => { if...
This plugin is a great, though nobody maintains eslint plugin for a long time.
hello, I still observing multiple processes in parallel, and some false negatives, which doesn't solved by ignore comments. I have 400+ false negatives in typescript/react project.