Skip to main content
InterviewHubPRO
Section Overview
Q7

Question 7 of 50

Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

14%
Flutter & Dart (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

What is the difference between `hot reload` and `hot restart`?

junior LevelHTTP & REST APIs

In Simple Words:

  • Hot Reload (r): Injects updated Dart source code directly into the running Dart VM. Preserves the current application state in memory! Fast (< 500ms). Perfect for rapid UI iteration.
  • Hot Restart (R): Destroys current app state and restarts the Dart app from main(). Clears memory; takes 1-2 seconds. Required when modifying static fields, global variables, or initState() methods.