Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 08:18
    FieryCod commented #1379
  • Jan 30 2019 10:01
    atif089 commented #1379
  • Jan 30 2019 10:01
    atif089 commented #1379
  • Jan 30 2019 10:01
    atif089 commented #1379
  • Jan 30 2019 04:11
    tclindner opened #1998
  • Jan 28 2019 05:21

    ljharb on master

    [eslint config] [base] [patch] … [eslint config] [patch] extend … Merge pull request #1996 from r… (compare)

  • Jan 28 2019 05:21
    ljharb closed #1996
  • Jan 28 2019 04:50
    ljharb synchronize #1996
  • Jan 27 2019 21:45
    ljharb closed #1997
  • Jan 27 2019 21:45

    ljharb on master

    [editorial] [react] fix typo [eslint config] [*] [deps] upda… (compare)

  • Jan 27 2019 21:39
    ljharb synchronize #1997
  • Jan 27 2019 21:39
    ljharb labeled #1997
  • Jan 27 2019 21:39
    ljharb labeled #1997
  • Jan 26 2019 18:14
    ljharb labeled #1996
  • Jan 26 2019 18:14
    ljharb labeled #1996
  • Jan 26 2019 18:13
    ljharb synchronize #1996
  • Jan 26 2019 18:05
    ljharb commented #1996
  • Jan 26 2019 08:55
    telmen opened #1997
  • Jan 24 2019 19:37
    peteclark3 commented #1689
  • Jan 24 2019 17:25
    ljharb commented #747
Mile Mijatović
@mijatovicmile
If we have an array of 5 numbers, and the task is to pack their binary values into a single integer
How to do that , any solution for that?
Jordan Harband
@ljharb
this isn't a general js help channel, it's for airbnb's javascript styleguide.
Mile Mijatović
@mijatovicmile
Ok, never mind
Do you have an idea how to solve that ?
Jordan Harband
@ljharb
i don't know what you mean by "binary values"
are they all of fixed width?
Mile Mijatović
@mijatovicmile
@ljharb Why enzyme ?
I saw that you are contributor

description is :

Enzyme is a JavaScript Testing utility for React that makes it easier to test your React Components' output. You can also manipulate, traverse, and in some ways simulate runtime given the output.

Why we can't do that with just jest
too many yarn or npm packages can lead to enormous bundle size
Jordan Harband
@ljharb
jest is a test runner. Enzyme is a react testing library. You can use any test runner, but you have to use one - and none of them let you test react
and bundle size is irrelevant for tests
Mile Mijatović
@mijatovicmile
Yes, I understand
But I have one issue, because I created app with yarn create react-app ... and by default I got setupTests.js file with import '@testing-library/jest-dom/extend-expect';
I deleted all three default @testing-library... packages
I am not sure how to set up setupTests.js file according to the enzyme test runner instead of default @testing-library...
any advice will be appreciate
Jordan Harband
@ljharb
react-testing-library and enzyme are both react testing libraries. you'd need one or both, combined with something like jest
enzyme's repo has docs with a jest setup guide
Mile Mijatović
@mijatovicmile
Thank you
Bhargav yadati
@bhargavdt3
Any idea, How to get a left position of an element which is in iframe, and both iframe and parent document bodys are set with zoom : 1.2 and zoom 0.9
Vyacheslav
@Voronenko
c
s4cr
@s4cr
hello
Shao Chenyang
@tzsword
Do facebook, Google or some other “big” companies use Domain Driven Design principles developing their applications?
tuerfight
@tuerfight
Is there a way to write dynamic form in play(scala) without using React(or teah like that) just use normal html and js (if possible not use @helper)? For example, a form to let user write setting for servers, we don' t know how many settings they will make so we use a Form(serversetting:List[ServerSetting]) serversetting->list(mapping(id->number,purpose->Text)(ServerSetting.apply)(ServerSetting.unapply)) data structure. In this case, what is the best way to write the html code?
available12
@available12
hello guys i need help..I have a bot Mod for my stream..he is always on in the vps ...there is any way to make the bot join only if steam on..and leave automaticly if it off...is that possible, please help
Jordan Harband
@ljharb
this is a channel for airbnb's styleguide, which is all about using react and server-rendering, so spa, angular, and vue are three inapplicable topics here.
ProXkilleR0
@ProXkilleR0
What kind of website app or tools is mostly demanded by people?I am thinking of creating a finance website but which kind of website may create huge traffic and subscribtions?
Ghost
@ghost~52d5532bed5ab0b3bf053fed
hellooo can I rent my room here os is this just a chat
Jordan Harband
@ljharb
just a chat about airbnb's javascript styleguide
Julian Zhu
@OrangeBorning
Does anybody know a room about Micro frontends
Jordan Harband
@ljharb
no, but this channel is about airbnb's javascript styleguide repo.
therialdeal
@therialdeal
Is there a typescript style guide?
Jordan Harband
@ljharb
airbnb does not have a public one, no
Jordan Harband
@ljharb
@SeanFullstack it's highly inappropriate to post job postings on something that's not a jobs board. i'll delete your posts now, if you continue to do so, you'll be banned.
nice10113
@nice10113
Hello World
Anyone?
abanwa
@abanwa
Hello
Julian Zhu
@OrangeBorning
Does AWS S3 support HTTP2?