2,526,716 questions
0
votes
0
answers
5
views
Rendering data in a React component
I have a website that is like a to-do app. Everything is working except the delete function (only when the page is reloaded does it not delete the item - which makes sense because a new component is ...
-3
votes
0
answers
14
views
Need Help Learning ReactJS and Finding Practice Projects Before Exam [closed]
I really need a way to learn ReactJS. I’m trying but it’s not working. I need projects to practice, but I can’t find any. The problem is I have an important exam. Is there anyone who can help me
0
votes
1
answer
9
views
React Native: Animate stacked views separately (tinder swipe mimic)
I currently have a loop that generates some Animated.Views on top of one another (like in a ZStack). With my code as is, all the views move together on a single swipe rather than one by one on ...
0
votes
1
answer
16
views
TypeScript says module not found for @polymarket/clob-client even though it is installed and in node modules
I have installed @polymarket/clob-client and it is in my node_modules but typescript still says the module is not found when i try to use it
This is index.ts
`
import {ethers} from "ethers";
...
-4
votes
0
answers
41
views
Why can I set div display as anything but inline-block? [closed]
Am using firefox and devtools. I have a div which is stored as a string in js and then injected into my webpage as lets say "#testdiv"
I can set the display to anything I like using jquery ...
0
votes
1
answer
34
views
Reduce logical pattern repetition for minDate and maxDate from Bootstrap DateTimePicker
The following logical pattern repeats several times:
$("#dt_start").on("dp.change", function (e) {
$('#dt_end').data("DateTimePicker").minDate(e.date);
});
$("#...
0
votes
0
answers
18
views
Ajax queries failing and then succeding on retry with prefilter
I have a jquery based functionality that prefilters all ajax queries so it can intercept 401 requests and refresh api authorization. I used to use a function that simply checks for a 401, refreshes ...
-3
votes
0
answers
26
views
Why do I get an error with exports or imports when building a storybook? [closed]
All folders and files are available here: https://github.com/Altazavr/B-production.
When I try to build Storybook, I get the following error: npm run storybook:build
Error:
ERR! => Failed to build ...
2
votes
1
answer
55
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
55
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
59
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 ...
1
vote
1
answer
74
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
30
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
104
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
45
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) ...