Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [javascript]

For questions about programming in ECMAScript (JavaScript/JS) and its different dialects/implementations (except for ActionScript). Note that JavaScript is NOT Java. Include all tags that are relevant to your question: e.g., [node.js], [jQuery], [JSON], [ReactJS], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

javascript
746,889 questions with no upvoted or accepted answers
67 votes
1 answer
1k views

swf respondDecisionTaskCompleted call, response time degrade overtime

We have a decided worker running and as the time goes we noticed the response time of the respondDecisionTaskCompleted call was getting slower and slower. We tried using the same instance of the SWF ...
Eatdoku's user avatar
  • 6,837
38 votes
1 answer
2k views

Having trouble working with SelectWoo instances of Select2 within WooCommerce

I am using Select2 within WooCommerce in some of my own custom areas and I am targeting it with some code to add and removes certain classes and it's working fine except for the SelectWoo instances ...
Brett's user avatar
  • 20k
34 votes
2 answers
13k views

Looking for a Dual Listbox with AngularJS and Bootstrap

I am looking for a component like this to be included in my project: http://geodan.github.io/duallistbox/sample-100.html I want to install it with npm. The problem is that I tested some of the ...
Iker Aguayo's user avatar
  • 4,088
33 votes
2 answers
25k views

"This Suspense boundary received an update before it finished hydrating." Error when using suspense and dynamic import in Nextjs

I'm trying to lazy load a list of data with suspense and dynamic import in Nextjs. But getting following error: Error: This Suspense boundary received an update before it finished hydrating. This ...
Hashem Mashem's user avatar
33 votes
2 answers
5k views

Unable to import webpack-bundled UMD library as an ES6 import

I've authored a javascript library using Webpack. The entrypoint someClass.js looks like this: import x from './x' /* several more imports here */ class SomeClass {} export default SomeClass; My ...
StillFiles2's user avatar
31 votes
5 answers
2k views

Get Download Url after firebase's resize extension completed

This is what I am trying to achieve, implement the firebase's resize image extension, upload an image, then when the resize is completed, add that dowloadUrl's thumbs to a Cloud Firestore document. ...
Haniel Baez's user avatar
  • 1,682
31 votes
5 answers
2k views

JavaScript FileReader Slice Performance

I am trying to access the first few lines of text files using the FileApi in JavaScript. In order to do so, I slice an arbitrary number of bytes from the beginning of the file and hand the blob over ...
kacase's user avatar
  • 2,580
28 votes
1 answer
6k views

How to detect if Prevent Cross-site tracking is active on Safari 13 with javascript

I would like to detect when Prevent Cross-site tracking is active in a browser using JavaScript. My challenge is trying to find a method to detect this and show a warning popup to the user when this ...
Berk Özel's user avatar
28 votes
3 answers
7k views

How to get rollup to include a dependency from another package in a lerna monorepo in its transpilation (TypeScript)?

I created a minimal example to show the question I have: Github repo. I have a lerna monorepo with two npm packages in the packages folder, the packages are called: utils: exports a function: ...
xoux's user avatar
  • 3,444
28 votes
3 answers
739 views

How to minify and factor-bundle files in the same browserify command?

I currently have this factor-bundle command which I use to bundle my files, and pull everything common into a common file: browserify index.js bar-charts.js list-filter.js dashboard.js -p [ factor-...
Richard's user avatar
  • 64.9k
26 votes
2 answers
915 views

Mobile Safari crashes when using Hammer.js

I am working on a multi-player game in Javascript for the iPad. I am using Smartfox Server for the multiplayer, and Hammer.js for touch events. I am having an issue where when I use a Hammer ...
user3203339's user avatar
25 votes
0 answers
2k views

Using Apollo's writeFragment to update nested list

I am working on a application in which a ship can be configured using rudders and other stuff. The database structure is sort of nested, and so far I have been keeping my GraphQL queries in ...
ErikRtvl's user avatar
  • 366
25 votes
1 answer
3k views

Rails Activestorage + DirectUpload javascript progress bar not showing when using "remote:true"

I have been using Rails ActiveStorage DirectUpload in my Rails app. And here is the code of the form: <h3>Select Files To Upload</h3> <%= form_for @uploader, url: uploaders_file_path(@...
Ryzal Yusoff's user avatar
  • 1,047
25 votes
1 answer
532 views

Updating AngularJS scope after validating search form in Symfony2

Hi fellow developers, We have to rewrite a software application in Symfony2 with AngularJS, we use Symfony2 for the MVC purpose and AngularJS for the useful functions. Here's our problem, we first ...
Dylan Gauthier's user avatar
23 votes
3 answers
6k views

Merging/mixing two audio streams with WebAudio

I have a MediaStreamSource sourced from navigator.getUserMedia, which is connected to a GainNode, which in turn is connected to a ScriptProcessorNode, like so: [getUserMediaStream] -> [...
eirikrye's user avatar
  • 331

15 30 50 per page
1
2 3 4 5
49793