« first day (4497 days earlier)      last day (436 days later) » 

4:02 PM
I am trying to dispatch an array value from child to parent
but it's causing infinite loop
because I am using useEffect in child and based on dependency trying to setState which will be used in parent
how to prevent infinite loop ?
 
@MileMijatović could you share some code?
 
@devpolo 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…
5:18 PM
@devpolo, sure
export const PensionCardStackComponent = ({
  cards,
  cardKey,
  onScroll,
  isCardStackDisabled,
  setDisabledCards,
}: PensionCardStackProps) => {
  const matchesSmallScreen = useMediaQuery(
    `(max-width:${ScreenBreakPoints.LG}px)`,
  )

  const implementedCards = [
    PensionCertificateCards.INSURED_INCOME,
    PensionCertificateCards.BENEFITS_IN_CASE_OF_DEATH,
    PensionCertificateCards.FINANCING,
  ]

  const isCardStackHidden = Boolean(matchesSmallScreen && isCardStackDisabled)
  const disabledCards = allPensionCertificateCardNames.filter((card) => {
this is child component
I am trying to pass an array to parent
but useEffect cause infinite loop
Why?
Do you have an idea
 
5:59 PM
Hi Guys, could you help on this issue stackoverflow.com/questions/75328248/…
 
@Ashokbharathi 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.
 
posted on February 07, 2023 by Michael Dawson

Pre-release announce Summary The Node.js project will release new versions of the 14.x, 16.x, 18.x and 19.x releases lines on or shortly after, Tuesday February 14 2023 in order to address: 2 low severity issues. 2 medium severity issues. 1 high severity issues. OpenSSL security updates for which the highest vulnerability severity is high. You can read more about this update in the OpenSSL s

 
 
2 hours later…
7:45 PM
posted on February 07, 2023 by Daniel Yip

The Chrome team is delighted to announce the promotion of Chrome 110 to the stable channel for Windows, Mac and Linux. This will roll out over the coming days/weeks. Chrome 110.0.5481.77/.78 for Windows, 110.0.5481.77 for Mac and Linux contains a number of fixes and improvements -- a list of changes is available in the log. Watch out for upcoming Chrome and C

 
 
3 hours later…
11:03 PM
posted on February 07, 2023 by Ben Mason

Hi everyone! We've just released Chrome Stable 110 (110.0.5481.83) for iOS; it'll become available on App Store in the next few hours. This release includes stability and performance improvements. You can see a full list of the changes in the Git log. If you find a new issue, please let us know by filing a bug. Harry Souders Google Chrome

posted on February 07, 2023 by Ben Mason

Hi everyone! We've just released Chrome Dev 111 (111.0.5563.15) for Android. It's now available on Google Play. You can see a partial list of the changes in the Git log. For details on new features, check out the Chromium blog, and for details on web platform updates, check here. If you find a new issue, please let us know by filing a bug. Harry Souders Google Chrome

 

« first day (4497 days earlier)      last day (436 days later) »