mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
72cb8b83fe
There are a few breaking changes, which I've addressed. The vast majority of changes are related to new handling of `reselect`'s `createSelector` options. For better or worse, we memoize just about all our selectors using lodash `isEqual` for `resultEqualityCheck`. The upgrade requires we explicitly set the `memoize` option to `lruMemoize` to continue using lodash here. Doing that required changing our `defaultSelectorOptions`. Instead of changing that and finding dozens of instances where we weren't using that and instead were defining selector options manually, I've created a pre-configured selector: `createMemoizedSelector`. This is now used everywhere instead of `createSelector`. |
||
---|---|---|
.. | ||
.storybook | ||
config | ||
dist | ||
docs | ||
public/locales | ||
scripts | ||
src | ||
static/docs | ||
tests | ||
__init__.py | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.js | ||
favicon.ico | ||
index.html | ||
package.json | ||
pnpm-lock.yaml | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts |