Expand my Community achievements bar.

JOIN US Next Wednesday, 12/6/23 @ 8am PT for the next Community Q&A Coffee Break! Bring your Machine Learning, AI Reporting & Analysis Questions to the chat. Experts Brent Kostak, Cristinel Anastasoaie, & Drew Burns of the Adobe Target Product Team will be providing deep insights and useful tips

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