« first day (3689 days earlier)      last day (1262 days later) » 

8:00 AM
Hello Everyone.
 
@MaxwellSmart Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
 
5 hours later…
1:17 PM
Hi all
 
@H_alt Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
can anyone please help me out in react js, I am stuck and need a little assistance
 
 
4 hours later…
5:17 PM
@H_alt ask away
@MaxwellSmart o/
 
Hello yall! Can someone help me with this stackoverflow.com/questions/64944060/…??
 
@MithatErcan Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
@MithatErcan the answers there seem to explain
getTrailer returns a promise, you must await it to get the value
function showMovies(movies) {
    movies.forEach(async movie => {
        const modals = document.createElement('div');
        modals.classList.add('modal');
        modals.innerHTML = `  <a target="_blank" href ="https://www.youtube.com/watch?v=${await getTrailer(movie.id)}">Watch Trailer</a>`
    });
}
something like that
 
Just anybody tried formik with jest
import { act } from 'react-dom/test-utils';
import Search from './Search';
import { shallow } from 'enzyme';
jest.mock('react-i18next', () => ({
  useTranslation: () => ({ t: (key) => key }),
}));

describe('Search', () => {
  it('should update the name prop q', async () => {

    let wrapper = null;
    await act(async () => {
      wrapper = shallow(<Search />);
      wrapper.setProps({ initialValues: { q: 2 } }, () => {
        wrapper.update();
      });

    });

    console.log(wrapper.props());
I'm just trying to set intial values here
bad luck ?
 
5:40 PM
@JBis Yeah i tried that but it didn't work.
 
 
2 hours later…
7:40 PM
Hey everyone,
I am trying to write a script which can join a google meet and record it without anybody noticing. The hard part of this question is recording the meet.
This is how I think this problem can be tackled.
During google meet a participant's browser continuously receives video and audio packets which the browser renders. If instead of rendering those packets we save them, then the problem is solved. I don't know if this is even possible. Can I get someone point me in the right direction.
 
@AkashKarnatak Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
 
1 hour later…
8:43 PM
is javascript bookmark considered injection of javascript or?
 
@NordineLotfi Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
I mean i do understand it depend on what the bookmarklet is doing, but curious if in general, it is considered injection of javascript or not
 
My require when I run my script in node statement is taking sometimes up to 2 seconds and I'm not sure why our how to figure it out.
Why would require usually be super slow?
I don't think I'm doing much computing there
Sometimes it takes 0.5 seconds other times it takes 1.5 seconds and I have no clue why
 

« first day (3689 days earlier)      last day (1262 days later) »