“Open a blank React component. Add an input and button. Disable the button when the input is empty.”
“Now show a message below the input when the domain is invalid.”
“What happens if the user clicks the button twice very fast?”
“Walk me through your SPF Checker from input to result.”
“How did you handle these states?”
“Why does React re-render when state changes but not when normal variables change?”
“When would you use useEffect in your SPF Checker?”
“What happens if dependencies are wrong?”
“Why are inputs usually controlled in React?”
“What prints and why?”
“What changes with let?”
“What happens here?”
“Why does this work?”
“Where would this appear in a React app?”
“Sometimes the SPF shown is for the previous domain. Why?”
“If something doesn’t work, what’s your first debugging step?”
“Can you explain this without running it?”
“How would you fix it?”
