-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Proposal] Lazy load views with suspense (#749)
* Add lazy loading stuff to field-views-loader * More stuff * Use render prop for target in withModalHandlers I'm working on code splitting things with suspense and things are breaking because of the findDOMNode calls in react-node-resolver Slightly related to this: @jossmac, i think you'll like this, reactjs/rfcs#97 * Update types * Fix linting error * Fix a thing * Fix thing * Works in some cases * Fix a thing * Add a Suspense component around page content * Update CreateItemModal in Relationship field type * Update UpdateManyItemsModal * Everything is _mostly_ working now * Fix a thing * Fix some things * forwardRef Pill * Fix things * Fix a thing * Add changeset * Add changeset * Add changeset for @arch-ui/layout changes * Add `compression` and change webpack config stuff so it works how it will work when it's on npm as a test * Change webpack stuff back * Try a thing to fix the access control tests * Only do gzipping in prod
- Loading branch information
Showing
27 changed files
with
537 additions
and
301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"releases": [ | ||
{ "name": "@voussoir/admin-ui", "type": "major" }, | ||
{ "name": "@voussoir/fields", "type": "major" }, | ||
{ "name": "@voussoir/field-views-loader", "type": "minor" } | ||
], | ||
"dependents": [ | ||
{ | ||
"name": "keystone_demo_blog", | ||
"type": "patch", | ||
"dependencies": ["@voussoir/core", "@voussoir/admin-ui", "@voussoir/fields"] | ||
}, | ||
{ | ||
"name": "@voussoir/demo-project-todo", | ||
"type": "patch", | ||
"dependencies": ["@voussoir/core", "@voussoir/admin-ui", "@voussoir/fields"] | ||
}, | ||
{ | ||
"name": "@voussoir/cypress-project-access-control", | ||
"type": "patch", | ||
"dependencies": ["@voussoir/core", "@voussoir/admin-ui", "@voussoir/fields"] | ||
}, | ||
{ | ||
"name": "@voussoir/cypress-project-basic", | ||
"type": "patch", | ||
"dependencies": ["@voussoir/core", "@voussoir/admin-ui", "@voussoir/fields"] | ||
}, | ||
{ | ||
"name": "@voussoir/cypress-project-login", | ||
"type": "patch", | ||
"dependencies": ["@voussoir/core", "@voussoir/admin-ui", "@voussoir/fields"] | ||
}, | ||
{ | ||
"name": "@voussoir/cypress-project-twitter-login", | ||
"type": "patch", | ||
"dependencies": ["@voussoir/core", "@voussoir/admin-ui", "@voussoir/fields"] | ||
}, | ||
{ "name": "@voussoir/core", "type": "patch", "dependencies": ["@voussoir/fields"] } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Lazy load field type views with suspense |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"releases": [{ "name": "@arch-ui/layout", "type": "minor" }], | ||
"dependents": [ | ||
{ | ||
"name": "@voussoir/admin-ui", | ||
"type": "patch", | ||
"dependencies": ["@voussoir/fields", "@arch-ui/filters", "@arch-ui/layout"] | ||
}, | ||
{ | ||
"name": "@voussoir/fields", | ||
"type": "patch", | ||
"dependencies": ["@arch-ui/filters", "@arch-ui/layout"] | ||
}, | ||
{ "name": "@arch-ui/filters", "type": "patch", "dependencies": ["@arch-ui/layout"] } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Forward refs passed to FlexGroup to the container element |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.