InvokeAI/invokeai/frontend/web
psychedelicious f9b8b5cff2 fix(ui): improve node rendering performance
Previously the editor was using prop-drilling node data and templates to get values deep into nodes. This ended up causing very noticeable performance degradation. For example, any text entry fields were super laggy.

Refactor the whole thing to use memoized selectors via hooks. The hooks are mostly very narrow, returning only the data needed.

Data objects are never passed down, only node id and field name - sometimes the field kind ('input' or 'output').

The end result is a *much* smoother node editor with very minimal rerenders.
2023-08-16 23:04:36 +10:00
..
.husky fix(ui): post-onnx fixes 2023-08-01 07:59:01 -04:00
.yarn/releases
config export theme nad move chakra to peer dep 2023-08-01 08:54:03 +10:00
dist rebuild frontend for windows testing 2023-08-14 22:59:26 -04:00
docs dummy commit to make github actions run 2023-06-04 22:55:35 +10:00
public/locales feat: Add Paste / Mask Blur / Color Correction to Inpainting 2023-08-12 03:28:19 +12:00
scripts feat: node editor 2023-08-16 09:54:38 +10:00
src fix(ui): improve node rendering performance 2023-08-16 23:04:36 +10:00
static move static into invokeai.frontend.web directory for dist install 2023-05-22 16:48:17 -04:00
tests
__init__.py Run python black 2023-07-28 09:46:44 -04:00
.eslintignore move static into invokeai.frontend.web directory for dist install 2023-05-22 16:48:17 -04:00
.eslintrc.js ui: gallery enhancements (#3752) 2023-07-13 20:31:10 +00:00
.gitignore build(ui): add yalc to gitignore 2023-05-11 11:55:51 +10:00
.prettierignore fix(ui): fix all eslint & prettier issues 2023-07-22 23:45:24 +10:00
.prettierrc.js
.yarnrc
.yarnrc.yml
favicon.ico
index.html
package.json feat: node editor 2023-08-16 09:54:38 +10:00
tsconfig.json feat: add multi-select to gallery 2023-08-03 11:46:59 +10:00
tsconfig.node.json feat(ui): improved node parsing 2023-06-26 11:53:54 +10:00
vite.config.ts build(ui): treeshake lodash via lodash-es 2023-04-28 21:56:43 +10:00
yarn.lock add chakra as peer dep 2023-08-01 08:54:03 +10:00