I have a situation where I need to pass information to a component class so that other instances can utilize that data downstream.
For example:
import { AComponent } from 'AComponent.svelte'
...
AComponent.classInfo = {something: somedata}
Then, the component could retrieve that information like this:
<script>
let something = AComponent.classInfo.something
</script>
In V2, there was discussion about implementing this feature (I'm currently using V3) in these issues: Support Component Static Method #480, which led to Added setup function which can supply static methods/properties. #572.
However, after reviewing the current documentation, it seems that there is no such setup method. So, I'm wondering if this feature carried over from V2 to V3 and if not, if there's another way to achieve this functionality?