4

You need to use this to access member attributes. this.fullName = this.firstName + " " + this.lastName; Note also that neither variable will be available in connectedCallback(), as the data is loaded asynchronously. Use this instead: get fullName() { return `${this.firstName} ${this.lastName}`; } I made a Playground that demonstrates this idea. ...


3

Both methods will take (approximately) the same amount of time to load. In fact, the "three method" approach may even be faster than using just one method. Unlike Aura, LWC can leverage multiple threads (up to six) to fetch data from the server. All things being equal, this means that there will be some performance gain as threads can overlap each other, ...


2

You can't get into the compilation and delivery phases for LWC and therefore cannot apply your own obfuscation. It seems clear to me that you simply need to ensure that the client code (i.e. the LWC) never receives data that it shouldn't make available to the user by enforcing security concerns in your Apex - without doing this you would never pass a ...


2

There are no SLAs on how long any request to the org takes, which means you simply cannot count percentage progress by time. The imperative call could take 0.1 seconds or 10 seconds simply depending on the load on the physical servers running your org along with all the other orgs that are multi-tenanted on it too. The only suggestion I have is to refactor ...


1

There is a typo in the expression you are testing it should be {!v.runningUser.ProfileId} and not {!v.runningUser.profileId} Correct code: testId-->{!v.runningUser.ProfileId} <br/> rb --> {! equals(v.runningUser.ProfileId, '00e1o000001EImgAAG')} <br/> wrd--> {!notequals(v.runningUser.ProfileId, '...


1

if SFSY is a checkbox, then you can't compare strings Instead of this if(SFYI == "true") { You should do if (SFYI) { That is the simplest way of checking whether a variable is true or not


Only top voted, non community-wiki answers of a minimum length are eligible