Expand my Community achievements bar.

Ask our product team on how to best grow your experimentation and personalization strategies with Target during our AMA on May 6th!

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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