Timeline for LWC child caches stale data by @wired Apex query, Parent cannot refreshApex() on child by querySelector() because child hidden by if:true. What to do?
Current License: CC BY-SA 4.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 18, 2020 at 3:01 | history | became hot network question | |||
| Aug 17, 2020 at 20:39 | vote | accept | Dextersecret | ||
| Aug 17, 2020 at 20:36 | answer | added | sfdcfox | timeline score: 5 | |
| Aug 17, 2020 at 20:34 | comment | added | Dextersecret | @arut yes, correct. for the sake of simplicity, the stuff on the left is not covered. (Container=child,Pallets=grandchild). If there is any better best practice of working with a modal, let me know. | |
| Aug 17, 2020 at 20:07 | comment | added | arut | @Dextersecret So, all the code you have given is related to the right side section of screenshot. The parent component contains the line item (with <<Allocate button), Delete Container button, Auto-Assign button, Refresh button etc, along with the hidden modal component (i.e., CHILD 2: Allocation Modal or c-packing-list-allocation-modal). Is my understanding correct? | |
| Aug 17, 2020 at 19:48 | comment | added | Dextersecret | i was trying to be concise. feel free to comment on poor architecture. this is how i understood LWC dev guide | |
| Aug 17, 2020 at 19:43 | history | edited | Dextersecret | CC BY-SA 4.0 | added markup |
| Aug 17, 2020 at 19:38 | history | edited | Dextersecret | CC BY-SA 4.0 | added markup |
| Aug 17, 2020 at 19:00 | comment | added | Rahul Gawale | hmm now I got your problem, so how are you hiding the palette container? and how are you deleting them? can you please add those code snippets? | |
| Aug 17, 2020 at 18:44 | comment | added | Dextersecret | Thanks. just added a paragraph in the beginning | |
| Aug 17, 2020 at 18:44 | history | edited | Dextersecret | CC BY-SA 4.0 | added 513 characters in body |
| Aug 17, 2020 at 18:17 | history | asked | Dextersecret | CC BY-SA 4.0 |