2,523,948 questions
-1
votes
0
answers
28
views
React Router v6 throwing "Uncaught TypeError: Cannot read properties of null (reading 'useRef')" and "Invalid Hook Call"
I am facing a "White Screen of Death" when using react-router-dom (v6) in my React application. The terminal shows a successful build, but the browser console throws multiple errors related ...
-6
votes
0
answers
28
views
Alternatives to Piston API for running code with free daily credits [closed]
I was using the Piston API (github.com in Bing) to run code and submit test cases in my project. It worked well because it was free and had no token limits. However, since the public endpoints were ...
0
votes
0
answers
27
views
Resetting audio graph? (Reconnecting after disconnecting audio nodes)
I have code that looks like (pseudocode)
source.connect(lowpass)
lowpass.connect(highpass)
highpass.connect(destination)
I have a function which I thought should properly reset the audio graph;
...
0
votes
1
answer
34
views
How to avoid "Close" button on Windows notification via Electron
I know Windows OS notifications can exclude these buttons but how is a mystery to me. Virtually every Windows notification I've ever seen does NOT have any such button but I'm lost on how to make that ...
Advice
1
vote
1
replies
44
views
How to structure a React project for stock management?
I'm building a stock management project using React (with Redux-Toolkit).
My project includes:
Products
Product variants
Categories
Stock management (add / remove / update quantity)
Forms (create/...
Best practices
0
votes
4
replies
30
views
Printing page without dialog box printer
I have one page that call the page for printing.
But the problem is I need to go directly on printing page process without opening the dialog box print preview. After printing out page close.
Someone ...
-3
votes
1
answer
59
views
Trying to replace a function with a wrapper which calls it gets me into infinite recursion [closed]
I need to replace a member function of some JS object MyObj with another function, which calls the original function, then does some other stuff. My code looks something like this:
MyGlobal....
Advice
0
votes
2
replies
45
views
What’s the correct way to structure reusable utility functions in a small JavaScript project?
I’m building a small JavaScript project (no framework, just vanilla JS), and I keep running into confusion about how to organize reusable functions.
For example, I have functions for things like ...
0
votes
1
answer
24
views
three.js OBJLoader.js error on initialization
I'm trying to set up a very basic scene and load one obj into it. However, I keep getting this error:
Uncaught TypeError: The specifier “three” was a bare specifier, but was not remapped to anything. ...
-4
votes
1
answer
48
views
Handling a cross-click to close an app on Pywebview
I recently ran into a problem: I needed to create a pywebview app, but I wanted to customize the top control bar where the buttons for minimizing and closing the app are located. First, to make sure ...
0
votes
1
answer
46
views
Processing REST API Responses with JS on an HTML Page
Using the familiar method of sending requests by JS to obtain metadata at simple html page...
const getMangasWebMetaDataEvent = async () => {
const script = document.createElement('script');
...
-3
votes
0
answers
36
views
Is it possible to call an object in an array using a parameter? [duplicate]
I need to loop through an array inside an object, so I'm using a function for that. Now, my question is if I'm able to use that function's parameter to call a specific object so I don't have to write ...
Advice
0
votes
8
replies
68
views
Need Suggestion for best MERN stack online course?
Can you recommend me a MERN stack course according to the current industry demand and the below listed constraints?
The constraints are: -
Budget is around 25k INR.
Course duration should be around ...
0
votes
0
answers
37
views
React Three Fiber SkinnedMesh (6.4MB) fails to render on mobile browsers but works perfectly on desktop
I am building a web-based 3D interactive project using React Three Fiber. The model is a character with skeletal animations (SkinnedMesh) generated by an AI tool.
The project works perfectly on ...
Advice
0
votes
5
replies
105
views
Compare JSON Object with random List in Object
Is there an easy and general way to compare two Objects with lists in it?
I have two Objects, both are the same type, the first one is the old one and the second one has maybe updates, now I want to ...