Skip to content

Replace Suspense with CSS skeleton loader and simplify loading behavior#32

Merged
NicolasDevil merged 2 commits intowxsub:mainfrom
CsJustinPowell:main
Mar 17, 2026
Merged

Replace Suspense with CSS skeleton loader and simplify loading behavior#32
NicolasDevil merged 2 commits intowxsub:mainfrom
CsJustinPowell:main

Conversation

@CsJustinPowell
Copy link
Copy Markdown
Contributor

No description provided.

Comment out the Suspense-based dynamic component loader and instead render a static .formkit-module-loading element as a placeholder. Simplify and modernize the loader styles: remove the absolute ::after overlay, switch to a moving background-gradient animation, add min-height and adjust keyframes. Keeps the original Suspense block commented for reference.
Uncomment the <Suspense> wrapper around the dynamic component so its fallback loader is used only while async components load. Remove the redundant .formkit-module-loading div that was always visible, preventing duplicate loading indicators and restoring intended Suspense behavior when conf.type is present.
@NicolasDevil NicolasDevil merged commit 8e3a6c9 into wxsub:main Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants