If you currently not using a service worker resulting in old production caches being used and users not getting new versions of the app.
src/index.js
Use:
import { unregister as unregisterServiceWorker } from './registerServiceWorker'
function hashStringToInt(s, tableSize) { | |
let hash = 17; | |
for (let i = 0; i < s.length; i++) { | |
hash = (13 * hash * s.charCodeAt(i)) % tableSize; | |
} | |
return hash; | |
} |
Project root:
yarn add -D --save-exact eslint-config-airbnb eslint-config-airbnb-typescript eslint-config-prettier eslint-config-react-app eslint-import-resolver-typescript eslint-webpack-plugin eslint-plugin-flowtype eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks babel-eslint eslint-plugin-jest @typescript-eslint/parser @typescript-eslint/eslint-plugin prettier prettier-eslint prettier-eslint-cli eslint-plugin-prettier
$ vim .eslintrc
{
"plugins": ["prettier", "@typescript-eslint"],