Skip to main content

πŸ“Š The Partials Concept

The Partials are a more efficient way of calculating the average of one data array partial sizes by avoiding the recalculation of the entire array every time.

When you create a Partial, the structure will create a reactive variable behind the scenes. The name reactive represents how the variables will automatically update their values without more instructions.

It avoids creating a new array every time you want to calculate the average of a different size of the same data.

Reactive variables update reactively to push calls. Then, after creation, you only need to care about getting the Partial result.

When a partial is created, the structure will return an ID that will be used to get the partial results.