# Barba JS / Ajax page transitions with Sage 9

**URL:** https://discourse.roots.io/t/barba-js-ajax-page-transitions-with-sage-9/10791
**Category:** sage
**Created:** 2017-11-01T03:47:37Z
**Posts:** 3
**Showing post:** 3 of 3

## Post 3 by @Stephen — 2017-11-15T18:27:33Z

@vanillagorilla see details in [this post](https://discourse.roots.io/t/sage-9-external-js-not-defined/9860/8?u=stephen) for the JS part (the HTML part is is pretty straightforward if you add the wrapping classes).

It works well but now the headache I have is with plugins that add their own CSS to the head (hello Elementor!) or worse, plugins (ie. Revolution Slider) that add blocks of javascript inside `<script>` tags - it doesn’t get executed when loaded via AJAX…

I like the way Barba.js works but I’m beginning to wonder if the complexity it adds to a WordPress setup is worth it!

---

_[View the full topic](https://discourse.roots.io/t/barba-js-ajax-page-transitions-with-sage-9/10791)._
