Reddit » JavaScript
4,244 FOLLOWERS
Looking for a technical discussion board for javascript? This Reddit community can be your place. Discuss design patterns, find software engineer interview learning resources, and talk all things about the JavaScript programming language.
Reddit » JavaScript
26m ago
I have a client Side rendering react application, Side project, starter 6y ago and mantained a bit during the years.
Basically is an app where you can search and explore players and their results.
So formally route has 30 Pages but then, for example, the ‘player page’ is based on an ID (eg: site.com/player/123 ) and fetch data for the specific player requested, and so do other Pages. I have around 300k player pages, 2M match pages etc. Around 2/3M page visits a month and around 20k/30k page crawled a day.
Right now, the app is deployed and rendered client Side, so very few costs for this.
The ..read more
Reddit » JavaScript
26m ago
Hi there,
I've tried searching this question because I'm having a lot of trouble with getting a scene to work on a page that is linked to my index.html. All I get is the questions about if it's possible to have more than one canvas, but that's not what I'm looking for at the minute.
I'm using webpack, and so everything gets put into a script module - and that main.js file is shared between both html files. I have a function that gets exported and inside of this it has a class (a threejs scene) that gets placed into a div. The rest of the code in that function is some animejs functions that do ..read more
Reddit » JavaScript
4h ago
If you check some websites like zoro, hianime , when any video is playing.. if I try to inspect the page, it redirect me to homepage. And there won't be any logs in console. How can I do the same for my website? How can we bypass and check the codes?
submitted by /u/Relative-Variation16
[visit reddit] [comments ..read more
Reddit » JavaScript
6h ago
Hello there,
Directly getting to the point, I am trying to logout when the user close the tab or browser. I have tried using 'onbeforeUnload' but it also get's trigger when i refresh the page.
Appreciate your help in advance.
submitted by /u/atulknowsme
[visit reddit] [comments ..read more
Reddit » JavaScript
9h ago
Hi everyone, I'm looking for a horizontal timeline library that can group rows. To provide more context, I'm attempting to represent parcels on each row, with individual events represented as crops. I found a library that perfectly meets my needs, but unfortunately, it relies on Moment.js, which is deprecated. Hence, I'm trying to avoid it. You can see an example of what I need here: vis.js timeline groups example.
The project is developed with Vue 3, so I'm looking for a library that is typed and preferably written in vanilla JS or compatible with Vue 3.
submitted by /u/DPvic
[visit reddit ..read more