What is the best way to include "external data" into an accessorFn

As a bit of a contrived example. Imagine you have a a table of numbers and you want to add some value to all of the numbers in the accessor?

//NOTE: I know this isn't how accessors work, but this snippet might help get my idea across
helper.accessor( ({value}, external_value) => value + external_value, {...})



In v7 you would be able to sneak that value in through the table options but in v8 it's not so clear.

I guess the best way is to apply this function to the data before it enters the table?
Was this page helpful?