Differences in Preact Suspense and React Suspense
See original GitHub issueReproduction
Steps to reproduce
Expected Behavior
Same as React, first show Loading Profile...
, then show Loading posts...
after profile is loaded
Actual Behavior
Showing Loading Profile...
and Loading posts...
at the same time
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Switching to Preact (from React)
The main idea behind Suspense is to allow sections of your UI to display some sort of placeholder content while components further down...
Read more >Suspense for Data Fetching (Experimental) - React
Suspense is not a data fetching library. It's a mechanism for data fetching libraries to communicate to React that the data a component...
Read more >Don't Optimize Your React App, Use Preact Instead | by Nilanth
Preact also gives some useful warning reg bundle size increase during the build as below. Suspense and Lazy. Some limitations I faced when ......
Read more >All You Need To Know About React Suspense - CopyCat Blog
The suspense component handles the loading state of the App or any component and will render the fallback UI while loading is true....
Read more >Issue Encountered Using Suspense and UNSAFE ... - YouTube
Issue Encountered Using Suspense and UNSAFE * Methods with Preact. 70 views 2 years ago. React Knowledgeable. React Knowledgeable.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can confirm this is fixed in our HEAD https://codesandbox.io/s/wizardly-thunder-p1qjv?file=/package.json thank you @tanhauhau
i believe this will be fixed by https://github.com/preactjs/preact/pull/2910