We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
This situation only happens on page reload, but not on navigation. Wasn't it supposed to be at least available inside onMount?
export function MyGrid() { let gridRef console.log('gridRefA:', gridRef) onMount(() => console.log('gridRefB:', gridRef)) setTimeout(() => console.log('gridRefC:', gridRef), 100) return <AgGridSolid ref={gridRef} /> }
// outputs gridRefA: undefined gridRefB: undefined gridRefC: Object { api, .... }
The text was updated successfully, but these errors were encountered:
@hugomcm yeah, this seems like a bug to me based on your description. When the view is mounted I would expect the ref to be assigned for sure.
Sorry, something went wrong.
No branches or pull requests
This situation only happens on page reload, but not on navigation.
Wasn't it supposed to be at least available inside onMount?
// outputs
gridRefA: undefined
gridRefB: undefined
gridRefC: Object { api, .... }
The text was updated successfully, but these errors were encountered: