Can I use Aurelia in a non-spa application?

I recently played with various frameworks and libraries, looking for something that really suits my needs.

You see, my work is mainly related to creating asp.net mvc applications and for most of them using Razor, and a little jQuery is enough. But in some cases, and only for a few pages, which are rarely more than one or two per application, I really need something extra that helps me avoid getting into jQuery's heap of code.

As I mentioned, I tried a couple of alternatives and one of them, the one that I liked most about Aurelia, is because of its simplicity and the fact that it covers standards, BUT the more I get into the framework, the more I think that this may not be what I'm looking for as it seems more suitable for full spa applications and I need:

  • Something that helps me reduce the number of DOM manipulations.
  • Efficient template engine

I know that Aurelia provides this and much more, but I do not need / need SPA, I need these functions ONLY on some specific pages, and not on the entire application.

Can Aurelia help me achieve this? If so, how?

+4
source share
3 answers

, . , , Aurelia.

, , jQuery, "" JS- . , .

aurelia.enhance, , !

+1

I use aurelia for dynamic elements on some sites. For example, comments. The page loads quickly without comment. Aurelia then starts playing and downloads the comments below. Also, with some signalR masks, the discussion is updated in real time. It is awesome and insanely easy.

0
source

Source: https://habr.com/ru/post/1663177/


All Articles