Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
react
/
react
Public
Notifications
You must be signed in to change notification settings
Fork
51.3k
Star
249k
Code
Issues
852
Pull requests
486
Actions
Security and quality
8
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Add withSuspenseConfig API
- #15593
#15593
Merged
sebmarkbage
merged 14 commits into
react:master
react/react:master
from
sebmarkbage:suspendifneeded
sebmarkbage/react:suspendifneeded
Copy head branch name to clipboard
May 16, 2019
Conversation
Commits
14
(14)
Checks
Files changed
Merged
Add withSuspenseConfig API
#15593
sebmarkbage
merged 14 commits into
react:master
react/react:master
from
sebmarkbage:suspendifneeded
sebmarkbage/react:suspendifneeded
Copy head branch name to clipboard
Commits
Commits on May 16, 2019
Add suspendIfNeeded API and a global scope to track it
Show description for dae328f
sebmarkbage
committed
dae328f
View commit details
Copy full SHA for dae328f
Browse repository at this point
Add the suspenseConfig to all updates created during this scope
sebmarkbage
committed
53f94f9
View commit details
Copy full SHA for 53f94f9
Browse repository at this point
Compute expiration time based on the timeout of the suspense config
sebmarkbage
committed
58671af
View commit details
Copy full SHA for 58671af
Browse repository at this point
Track if there was a processed suspenseConfig this render pass
Show description for aee7a4a
sebmarkbage
committed
aee7a4a
View commit details
Copy full SHA for aee7a4a
Browse repository at this point
Mark suspended states that should be avoided as a separate flag
Show description for f80e403
sebmarkbage
committed
f80e403
View commit details
Copy full SHA for f80e403
Browse repository at this point
Suspend until the full expiration time if something asked to suspend
sebmarkbage
committed
b9e467a
View commit details
Copy full SHA for b9e467a
Browse repository at this point
Reenable an old test that we can now repro again
sebmarkbage
committed
df782f6
View commit details
Copy full SHA for df782f6
Browse repository at this point
Suspend the commit even if it is complete if there is a minimum delay
Show description for 8660f24
sebmarkbage
committed
8660f24
View commit details
Copy full SHA for 8660f24
Browse repository at this point
Default timeoutMs to low pri expiration if not provided
Show description for 044af3c
sebmarkbage
committed
044af3c
View commit details
Copy full SHA for 044af3c
Browse repository at this point
Rename to withSuspenseConfig and drop the default config
Show description for 0c902e4
sebmarkbage
committed
0c902e4
View commit details
Copy full SHA for 0c902e4
Browse repository at this point
Track the largest suspense config expiration separately
Show description for 367354d
sebmarkbage
committed
367354d
View commit details
Copy full SHA for 367354d
Browse repository at this point
Add basic tests for functionality using each update mechanism
sebmarkbage
committed
1f889b6
View commit details
Copy full SHA for 1f889b6
Browse repository at this point
Fix issue when newly created avoided boundary doesn't suspend with delay
sebmarkbage
committed
d937e45
View commit details
Copy full SHA for d937e45
Browse repository at this point
Add test for loading indicator with minLoadingDurationMs option
sebmarkbage
committed
4347de6
View commit details
Copy full SHA for 4347de6
Browse repository at this point
You can’t perform that action at this time.