Expand my Community achievements bar.

VEC/SPA + Asynchronous Data

Avatar

Level 4

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!

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

SPA
0 Replies