2,526,712 questions
2
votes
1
answer
43
views
“Element type is invalid” error when component is inside src folder, but works when placed in node_modules
I installed the required packages: npm install react-slick slick-carousel
But I am getting this error when trying to use react-slick:
Element type is invalid: expected a string (for built-in ...
0
votes
0
answers
50
views
Firefox WebExtension new-tab <video> briefly flashes black between poster and first frame, even though source video has no black frame
I am building a Firefox “New Tab” WebExtension that shows a full-screen looping video wallpaper (cat + fireplace). For perf reasons I try to show a static preview instantly and then fade into the live ...
1
vote
1
answer
47
views
List<IFormFile> is null for large files
I have a C# Controller method that happily receives small files but when I try to upload a large file from the browser client, the "files" parameter is null.
I have searched the web and ...
0
votes
1
answer
53
views
websocket.close() being called but not closing, not sending close frame
I have an HTML / JavaScript chat web app using WebSockets. I have also built a simple Ubuntu Linux / Apache2 / PHP socket server geared for WebSockets, using vanilla PHP without third-party libraries. ...
Best practices
0
votes
1
replies
25
views
Best approach to dockerize Nodejs Backend with API endpoint and scheduler
The API endpoint is using the Express.js package while the scheduler is using the bree.js.
The previous approach is to wrap the scheduler starting program into a function and start the scheduler when ...
Advice
0
votes
2
replies
95
views
Writing a typing game, with an animated keyboard
I'm a new web developer here. I was hoping to share some code and see if there's a set of functions to use that maps more appropriately to my problem.
My goal is to create a typing game with css ...
-1
votes
0
answers
43
views
html5 canvas referencing images are not showing up [closed]
I'm recreating a game based on the FreeSki Windows 95 app. I know my way around JavaScript but i'm stuck on something I thought would be simple. Based on the console.log. I'm referencing the image(s) ...
-5
votes
0
answers
46
views
SPA with lazy routes: handle new release bundle without crashing [closed]
I have a React single-page application with lazy imports and lazy routes.
The problem is common: when I build a new bundle, release it, and then try to fetch a lazy-loaded component, the app crashes. ...
Advice
1
vote
3
replies
56
views
Where Professor Prebid stores its data
I'm working on my own extension based on professor prebid. Idea is to collect data from professor, group it in one big, structurized object, remake it as string, and send at openAI API for "...
-2
votes
1
answer
33
views
Having trouble displaying Javascript Google Review in HTML Email in outlook or Gmail etc [duplicate]
I have designed a free google form review widget using https://app.shapo.io/forms/df8bc6d93d
In fact i've tried multiple javascripts in my email and different google widgets, none of these are being ...
1
vote
0
answers
43
views
How to correctly type Object.keys() lookup in a JavaScript project with TypeScript type-checking enabled? [duplicate]
I am working in a JavaScript project with TypeScript type-checking enabled (using // @ts-check or equivalent).
So even my .js files are validated strictly against TypeScript types.
I have a JavaScript ...
-4
votes
0
answers
50
views
Why won't the value of the x variable register to the rest of the code when inside of an if-statement? [closed]
I am making a game where a random pose will appear when you click space, but when I put the x variable inside of an if-statement, the value of x didn't seem to have any effect on the x#s, causing it ...
-3
votes
0
answers
37
views
BurpSuite reports “PHP source code disclosure” inside React build chunk file — but app has no PHP [closed]
I’m working on a React (Create-React-App) project that is deployed behind CloudFront + S3.
Our application is 100% frontend JavaScript — we do not use PHP anywhere in our codebase or backend.
However, ...
1
vote
0
answers
29
views
iOS 26 adds unwanted outline to transparent Scriptable widget
I'm trying to create an "invisible" widget using Scriptable on iOS 26. The goal is for it to blend seamlessly into the home screen background.
However, iOS seems to add a subtle 1–2 pixel ...
-2
votes
0
answers
38
views
Next.js yt iframe background video not autoplaying on IOS [closed]
I have used this <iframe> in the header to make the video work as a background autoplaying video. It works fine on desktop and Android, but it does not work on iOS. On iOS the video stops at the ...