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!

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 jQuery Basics Understanding jQuery Events and DOM Traversal Understanding Unobtrusive JavaScript

Andrew Lim
Andrew Lim
8,004 Points

How does Unobtrusive JavaScript reflect for frameworks such as AngularJS?

Not fully related to jQuery, but when I search this topic on Google the response I get is that unobtrusive JavaScript and progressive Enhancement is old and dead. When I did a bit of AngularJS this didn't really site well with me because I was taught about unobtrusive Javascript as a must at school.

Is it dead? Is it dead when applying to frameworks? Why or why not?

Ruben Dario Avila Home
Ruben Dario Avila Home
8,806 Points

The same question! What about Angular, VUE, React, and all the other JS technology?

1 Answer

Kristaps Vecvagars
Kristaps Vecvagars
6,192 Points

If your entire site is built/generated using JS, the only reasonable fallback would be to run a backup site with limited content and functionality without JS. Perhaps the idea is that technology has been advancing so fast, we shouldn't worry as much about backwards compatibility as we used to. Same as nowadays we would probably expect to see an iPod dock or a USB port in a car, rather than a cassette or CD player.