| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
|
@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. [S] |
Sorry, something went wrong.
|
@utchoang will this offer any performance improvement? I hope we are not accessing/manipulating DOM elements in any of the fetchData methods |
Sorry, something went wrong.
|
@shwstppr Yes. In apache/cloudstack-primate#719 then move fetchData to created from mounted to reduce wait time for API calls since the data has been created but the page has not yet been rendered |
Sorry, something went wrong.
|
@utchoang what are the pros and cons of using one vs the other? |
Sorry, something went wrong.
|
@rhtyd When the component is initialized, fetching data from the backend at created() will be done without having to wait for the DOM to be mounted or rendered as if it were called on mounted(). |
Sorry, something went wrong.
Sorry, something went wrong.
|
@davidjumani a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
UI build: ✔️ |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM. Did a quick round of testing
Forms appear to load a bit sooner
Sorry, something went wrong.
|
@utchoang can you fix the conflict against latest 4.15 branch |
Sorry, something went wrong.
Sorry, something went wrong.
|
@rhtyd a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM proxing David's testing/review
Sorry, something went wrong.
|
UI build: ✔️ |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
This PR to move fetchData() to created() insteadof mount()
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?