What is Callback?
A function that runs after another operation completes
Why It Matters
Callbacks let your code handle the results of slow operations like network requests
Real-World Example
A callback that displays search results after the search request returns data
Learn More at buildDay Melbourne
Want to understand these concepts hands-on? Join our one-day workshop and build a real web application from scratch.
Related Terms
Promise
A way to handle operations that will complete in the future, with success or failure
Async/Await
A cleaner way to write code that waits for slow operations to complete
Full-stack
Working on both the frontend (what users see) and backend (the server and database) of an application
TypeScript
JavaScript with added type checking that catches errors before your code runs
JavaScript
The programming language that makes websites interactive and dynamic
Environment Variables
Secret settings stored outside your code, like passwords and API keys