Closed oscarkilhed closed 3 months ago
Decided to take a look at implementing a react hook for using transformations. Based on the useQueryRunner hook.
https://github.com/grafana/scenes/assets/468940/9d3bf4e7-9247-4386-862d-96ad478880a6
looks good!
Good thing I added some testing. It turned out I was not assigning the key, so I was creating a new dataTransformer every render :)
:rocket: PR was released in v4.30.0 :rocket:
v4.30.0
Decided to take a look at implementing a react hook for using transformations. Based on the useQueryRunner hook.
https://github.com/grafana/scenes/assets/468940/9d3bf4e7-9247-4386-862d-96ad478880a6