Questions tagged [lwc-oss]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
34 views

Query Selector is not working when I am putting inside renderedCallback Lifecycle hook in Lightning Web Component

I am creating a variable crashride and doing querySelector inside renderedcallback then I am using that variable inside another function. But if I directly say this.crashride inside the function ...
0
votes
0answers
79 views

JSForce GET Request Issue

I am using a LWC Open source app to make a GET request to my Salesforce Org. I want to get the resource at : https://na111.salesforce.com/services/data/v42.0/sobjects/EventLogFile/0AT3h00000PE85uGAD/...
0
votes
0answers
43 views

new XSLTProcessor() fails in lwc

I am playing around a bit with lwc and the open-source version of it. I tried to copy my open source lwc component into my saleforce project but now I am getting an error message that does not really ...
1
vote
1answer
357 views

LWC datatable Header wrapping

I am working on a LWC component where in a lightning datatable I have more than 7-8 columns. When I add the component into detail section of a record page, the headers of the table is getting ...
1
vote
1answer
180 views

LWC OSS cannot find ui-card component

I am looking at the open source LWC recipes and whenever I try to add a template to app.html which references ui-card, I am hitting a compile error. I saw that this issue has come up before from ...
2
votes
1answer
142 views

Inconsistencies between shadow dom and synthetic dom on LWC OSS

We've been working on porting our LWC components from platform into LWC OSS. In order to do this, we have a copy of SLDS classes we have created and we need them to be applied globally. For us will ...
1
vote
1answer
128 views

OSS LWC app on Heroku Css Fails to load

I am trying to run an OSS LWC app on heroku using SLDS via synthetic shadow dom. When I run it locally using heroku local web everything looks great. When it makes all the way to my Heroku site, I ...
4
votes
2answers
436 views

How to @wire an external Rest API call with LWC OSS?

I have created a basic project and simply want to pull a list of greetings from Google Firestore instead of using the default static array of greetings. My greeting.js file looks like this: import { ...
2
votes
0answers
119 views

Adding Service Worker to LWC

How do we add a service worker to an LWC local application? I am trying to add a service worker to an LWC application. I have added the sw.js to the project but it shows an error while registering ...
3
votes
1answer
591 views

Normalizing Boolean values in LWC

Looking at LWC e-bikes sample gallery, I found these comments in code regaring normalizing values. Can someone refer to what they have meant or how to do this normalization using best practices? ...
8
votes
2answers
771 views

lightning-input firing two onclick events in Lightning Web Component

I am receiving two events when I am clicking lightning-input checkbox. This behavior is the same in Salesforce as well as on the LWC playground. Wherever if use html checkbox then I receive event ...
0
votes
0answers
73 views

LWC OSS Application deploy

Iam trying to deploy LWCOSS application in github pages unable to complete it. Steps I followed 1 . npx create-lwc-app testLWCOSS 2. cd testLWCOSS 3. Update package.json home page 3. npm run ...
2
votes
1answer
186 views

routing or dynamic creation of LWC Open Source components to avoid multiple IF conditions

we are working on LWC Open Source and to navigate to the new component, currently we are using if:true with a boolean value which is not appropriate for a long run. Is there any other way to achieve ...
3
votes
1answer
461 views

Lightning Web Components - Custom Decorator support

Part 1 - Custom decorators blocked in LWC I'm trying to implement a custom decorator, very simple book example but getting LWC error in both LWC open source and LWC for salesforce, LWC1100: Invalid ...
1
vote
1answer
192 views

How to view new LWC?

I want to play around with the new Lightning Web Component announced earlier today. I have Node.JS downloaded and I'm running a local server, but I'm unable to see anything at the address '0.0.0.0:...