I've encountered a problem with lifecycle hooks. Specifically, when I import a component, the $onUpdated hook doesn't seem to function properly when the props are updated in the main component.
Expected Behaviour
Retrieve the updated data on the $onUpdated hook of the Subcomponent when data is updated in the main component.
Actual Behaviour
No data is received
Please check:
app.js
...
import chart from "../components/chart.f7"
Framework7.registerComponent(
'x-chart', chart
)
...
I've encountered a problem with lifecycle hooks. Specifically, when I import a component, the $onUpdated hook doesn't seem to function properly when the props are updated in the main component.
Expected Behaviour Retrieve the updated data on the $onUpdated hook of the Subcomponent when data is updated in the main component.
Actual Behaviour No data is received
Please check: