-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refreshing component state not rendering new state #16
Comments
Where do I find the source code for that assembly module? And what's the URL (and login) for the running app so I can see the problem for myself? |
Also can you provide me with a list of steps to take in order to replicate the issue and see it for myself? |
@robtweed this video https://www.loom.com/share/7de85ce4d8ca4f2aba0171c846669186 demonstrates how issue is happens |
Assembly code: https://github.com/yudin-s/PT-WC-on-Qewd-v1/blob/PTcollab/www/components/ptwq/assembly/ptwq-summary-assembly.js At line 95 we have code setState that not working. Component code that not working : https://github.com/yudin-s/PT-WC-on-Qewd-v1/blob/PTcollab/www/components/ptwq/components/ptwq-summary-element.js |
Issue in both things are pretty simple for understanding. As I can see with Issue#16 issue based on mgWebComponent dom refresh - we send setState but DOM aren't refreshed as needed |
Hello @robtweed I have find and issue with the custom component.
In www/components/ptwq/assembly/ptwq-summary-assembly.js line 95 when I go back to patient summary nothing is happens but by logs in console everything looks correct. Looks like mgWebComponents just not refreshing DOM by regular setState loop.
This code is executing correct once and that's all
The text was updated successfully, but these errors were encountered: