I've an aura component that is overriding the Standard New button. The aura component in turn calls a LWC - which loads the custom record edit form. What I've noticed is - the first time the New button is called - the Aura's Init and LWC's connectedCallback are called. If you create a record and hit save, or populate a few fields and click cancel and redirect to the previous URL, and Click "New" again - then the ConnectedCallback isn't called again - which leads to the LWC displaying the previous cached data.
Is this a known behavior? Or is there a workaround to ensure the component is loaded properly without showing cached data?
Edit: I thought Edit and View call connectedCallback when loaded the second time, but on closer inspection even they work the same way as "New" button override does.