Kenny Evitt
Kenny Evitt

Reputation: 9801

What's a "JS data warehouse"?

On this MDN page:

the reader is cautioned about using data attributes:

Also, the performance of reading data-attributes compared to storing this data in a JS data warehouse is poor.

What's a "JS data warehouse"?

Based on the jsPerf test case linked-to in the above quoted text, a "warehouse" is just a JavaScript object.

The source of the quoted text on the MDN page seems to be this blog post:

Upvotes: 1

Views: 425

Answers (1)

user229044
user229044

Reputation: 239382

Based on the jsPerf test case linked-to in the above quoted text, a "warehouse" is just a JavaScript object.

Yes. This is a one-off term used in this article to describe a JS object as a "warehouse" of data, it's not referring to any kind of accepted concept in the industry.

Upvotes: 2

Related Questions