Integration Issue with @tanstack/react-query in a Custom local Strapi Plugin

Sorry I can’t wrap my head around this one you mean I should use the plugin hook bootstrap ?
Because I can’t see how can one instantiate a variable there an then pass it to the plugin component as props.

Do you have any draft or example to see how this could work ?

Thank you for your answers and your patience