Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript AJAX Basics AJAX Concepts Introducing AJAX

Ajax and Frameworks like angular

Is Ajax still usefull since we can achieve the same thing with frameworks like angular

1 Answer

Brendan Whiting
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 Points

The Angular HttpClient uses XMLHttpRequest under the hood. It's helpful to know what that's about and how we got to where we are now. If you're learning Angular, most Angular courses will assume you already know what AJAX is about and how to get around problems like CORS. Also, using a framework has its pros and cons. It's not always the right choice for every project. It's good to know how to do things the vanilla way so you have that option.

Side note: it's worth learning about fetch as well.

Thank you