VEC/SPA + Asynchronous Data | Community
Skip to main content
bkmills1
Level 3
December 19, 2019
Question

VEC/SPA + Asynchronous Data

  • December 19, 2019
  • 0 replies
  • 2318 views

Hi community,

 

I see a lot about how the VEC can be used to make simple changes to SPAs. This is demonstrated here. But how does this work when the data being accessed is loaded asynchronously? What if a state-change occurs on a view (log-in/out, sort order, lazy-loading)? How, or better yet, can this handled using the VEC?

 

I imagine there's some coding going on. But are devs using pure DOM manipulation, or some other method, for example, Angular Elements as demonstrated here: https://shinesolutions.com/2019/08/07/angular-7-and-a-b-testing/? Note, there's no mention of using the VEC.

 

I'm curious to hear how others are approaching this (VEC or Form-based), as our team is preparing to upgrade to at.js 2.x and want to explore the pros/cons.

 

Thanks!

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.