Skip to content

Dataset #276

Answered by Vadorequest
samuelcastro asked this question in Q&A
Jan 20, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Basically, the dataset contains all dynamic values coming from the database.

I'm still trying to get my head around Dataset and why you're using them now. Is your intention to add any data coming from CMS or others data providers as part of the Dataset? What's the benefits?

It's easier to manage this way, in the case of the demo where all pages are injected with a dataset. The data contained within the dataset might be different from page to page, but all expect a dataset property, containing at least the customer and the theme to apply to the UI.

One of the benefit is the dataset is automatically serialized, so no matter what data you store there it won't break in case of circular refe…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@samuelcastro
Comment options

Answer selected by Vadorequest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants