« first day (4062 days earlier)      last day (871 days later) » 

user17382064
3:32 AM
jbis, you there?
 
user17382064
I need help implementing a piece of code.
 
user17382064
I need to do this: "The undefined wrapper can now have undefined replaced with an index into the allWrappers array."
 
user17382064
In here:
 
user17382064
 function findPlayers() {
    const allCovers = document.querySelectorAll(".cover");
    const allWrappers = document.querySelectorAll(".wrap");
    allWrappers.forEach(function addToPlayers(cover, index) {
      players.push({
       "covers": cover,
       "wrapper": undefined
      });
    });
  }
 
user17382064
How do I do that?
 
user17382064
3:35 AM
What does that mean to do?
 
user17382064
How do I retrieve an item from an array
 
user17382064
vlaz, kevin, Habib
 
user17382064
I am stuck on this.
 
user17382064
4:45 AM
Anyone???
 
user17382064
4:56 AM
As I understand it, nothing gets updated other than the wrapper property line.
 
user17382064
Doing this is wrong, I know that. "wrapper": index
 
user17382064
5:12 AM
I was told this is wrong. "wrapper": index
 
user17382064
I don't understand what this line would be changed to: "wrapper": undefined
 
user17382064
Undefined gets replaced with an index into the allWrappers array.
 
11:58 AM
Anyone here used opentememetry-js here? My issue is debugging it. Most of the open-telemetry projects are written in typescript. When I npm install the software, i get the compiled stuff. So how do we use this an debug using vs code?
 
Well, if sourcemaps are provided, the IDE should handle that automatically. If they're not, there's really not much you can do other than step through the transpiled code
 
 
6 hours later…
5:39 PM
How can I create a <form/> element that submits whenever it's clicked in React?
 
err
what
 
I mean, if you click the form it submits
I guess I need refs :/
 
<form><button>submit</button></form>
 
ha, but the form needs other things in it
 
right, but like, the default action of a form is to submit
when you hit submit
you don't need to do anything special for it to do what it does
 
5:43 PM
but say I have <form><h1>yeet</h1><button>submit</button></form>
Then clicking the h1 won't submit when I wish it would
 
then give it a click event that does what you want it to do
 
yes, agreed. I thought there might be some way to do it without refs, and I'm sure there is, but I'll use a ref
 
6:17 PM
i mean
can't you just bind an event with react?
what would you need a ref for
 
Hola, any of the old people that used to know me?
 
name sounds familiar
but no
I can nudge some of the old ones to pop in
 
Ha, I used to cause quite a commotion around 2013-2014 in the chats here
Then I got tired and stopped entering the chat
@KevinB it's not needed, there used to be one person who was really good with JS and CSS animation, but I can't seem to recollect his name
he's Canadian
 
@KevinB that's what I thought, but how do you reference the form without a ref?
 
6:52 PM
You don’t
You create the form with react like you create any other thing with react
How do you add click events to buttons? To anchor tags? Do you use references for those too?
 
7:11 PM
Sorry to be daft, I'm not following your drift
Can you show what you mean?
Like I can't do onClick="submit", and I can't do onClick={submit} (without a ref used in the submit function).
 
7:55 PM
I just used a ref but if you have a way without one, I'm all ears :)
 
 
3 hours later…
10:33 PM
posted on November 29, 2021 by Matt

The Dev channel is being updated to 98.0.4723.0 (Platform version: 14359.0.0) for most Chrome OS devices. If you find new issues, please let us know by visiting our forum or filing a bug. Interested in switching channels Find out how. You can submit feedback using ‘Report an issue...’ in the Chrome menu (3 vertical dots in the upper right corner of the browser).&nb

 
 
1 hour later…
11:52 PM
 

« first day (4062 days earlier)      last day (871 days later) »