What is Suspense and what is it used for?
Answer
•Suspense allows showing fallback while resource loads.
•Mainly used for lazy and data in frameworks.
•Suspense boundary localizes loading.
•Doesn't replace error handling — need Error Boundary.
•Ecosystem support depends on data fetching stack.
Was this answer helpful?