I am very (very) new in frontend technologies, specially react and typescript. My issue come when trying to do a simple thing that is to use a react component
I have a situation where I am bundling multiple files via rollup cli an example of this is available in documentation. I export an array of bundles like so: e
Let us say I have an Observable (hot, doesn't complete), and I subscribe to it. Ordinarily when I am finished with the Subscription I have to unsubscribe it to
In my workplace I've been told by my supervisor to use autoloaders instead of using many import statements since it's slow! First of all, based on my research t
I have products data which I am importing in my displaycomponent. For each product in JSON I am using .map() to display the content. Now I want to sort the prod
I'm trying to use optional chaining with an array instead of an object but not sure how to do that: Here's what I'm trying to do myArray.filter(x => x.testKe
I'm trying to use the JS Mailgun API to send emails. Have it working fine, until I throw template variables into 'h:X-Mailgun-Variables' like so, where jsonStri
I'm so confused about this but is there a way to store FileReader content into a variable or an array as it is, because I need that content into another compone
I have written the following function in JavaScript to check if a singly Linked List is a palindrome. However, I'm failing 2 out of 10 tests, and I can't figure
I never deployed any project before and I'm currently running with an issue while deploying a next.js app to godaddy. I uploaded my next.js app to the public_ht
I have an error exclusively in my Jest unit test when I import an SVG in the component being tested: console.error node_modules/vue/dist/vue.common.dev.js:630
Opening our ecommerce site from within the Facebook app on Android, opens the page itself in a Facebook web view. When performing the purchase, an external app
Hi everyone! I tried to make a call to the state of a contract developed on truffle, using web3.js in React, the problem is this, when I try to see the price of
I need help, I got stuck on objects with multiple nested arrays. I have a json file which consists of object, that holds array of objects, and these objects hav
I've recently started maintaining someone else's JavaScript code. I'm fixing bugs, adding features and also trying to tidy up the code and make it more consiste
How to catch emitted data in stencilJs component in ReactJs component? I've created a CustomInputStencil component that has a prop of onChange that accepts a fu
When creating a product I use React-Dropzone but when editing I intend to use it in the same way. I would like that when editing the product, the images that ar
I want users to navigate back to the same page after the button is clicked on the page. If the user URL is https://localhost:xxx/Inventories/Index/38?custID=38&
This is my datatable code: table = $('#datatable-buttons').DataTable({ lengthChange: false, pageLength: 25, order: [ 0, 'desc' ],
This happens to me in Chrome 79.0. CodePen replicating the issue: https://codepen.io/puckowski/pen/eYmEbVz I have a basic input element which looks like: <