Is there any good way to dynamically insert and replace div, that is, page switching like app?

  node.js, question

The native app clicks into the page, or the page switching is quite good. How can mobile web pages do similar things efficiently? It is too troublesome to insert dynamic strings. The template engine feels that it is not necessary to use UIkit or something like that.

/There is no need for routing or anything**/

What you need is a front-end route for your keyword search