UX: How do you pass data to your lazy-loaded sub pages?

If you are planning to pass data to your sub pages that will be lazy-loaded, it is important to note that the properties are explicitly defined in your sub page. Otherwise, when your sub page is lazy-loaded, the data may not reach your sub page.

Example of passing in data to your sub page from the main view:

<subpage id=”subPageId” user-data=”{{user}}” route=”subpageRoute”>

Example of defining the property in your sub page:

properties : {

userData: {

type: Object,
notify: true,


Continue reading


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s