Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

VEC/SPA + Asynchronous Data

bkmills1
Level 4
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!

 

 

angular SPA VEC
0 Replies