Interviewers test whether you can maintain legacy stacks responsibly—not whether you memorize every animation easing name.
Must-know topics
- Selectors, collections, and chaining
- Event delegation and namespaced
.on/.off - Ajax error handling and CSRF considerations
noConflictand script load order- Migration and security (XSS via
.html())
Sample answers
- Q: Why delegation?
A: Binds one listener on a stable parent for dynamic child nodes—fewer leaks when rows reload. - Q: jQuery vs React?
A: jQuery imperatively patches DOM; React declaratively renders from state—different eras, different fit.
Self-check
- Explain delegation in one sentence aloud.
- Name one XSS pitfall with .html().
Interview: Be ready to explain event delegation, Ajax error handling, and when you would not add jQuery to a new page.