๐Ÿ”Ž
 Remote Jobs 1 Chat Travel Insurance Community Dating Hire Remotely 
  Home  Your profileโš™๏ธ  Settingsโค๏ธ  My wish list
๐Ÿก  Cities๐Ÿ‡ณ๐Ÿ‡ฑ  Countries๐ŸŒ  Community๐Ÿ‘‹  Dating New๐Ÿœ  Explore๐Ÿ’ฌ  Chat๐Ÿ—ฏ  Forum
๐Ÿ“ธ  Vote on photos๐Ÿ’ก  Request features๐Ÿ”ฎ  Random place๐Ÿ’ธ  Retirement (FIRE)๐Ÿ”Œ  Bali sea cable status๐ŸŒค  Climate finder New๐Ÿ“Š  Travel trends๐Ÿก  Real estate overseasโ›„๏ธ Escape the Winter๐Ÿฆ  Corona data
๐Ÿ‘ฉโ€๐Ÿ’ป  Remote jobsโœˆ๏ธ  Airlines๐Ÿ—บ  Neighborhoods๐Ÿ  Coworkations๐Ÿฌ  Coworking spaces๐Ÿ”–  Incorporate๐Ÿš‘  Nomad Insurance
๐Ÿ“ฃ  Advertise๐Ÿ™Œ  Open Startup๐Ÿ’  Help
Javascript Chat

All Channels
Join Nomad List to chat
# _covid1949s# brazil9min# montreal10min# ___general11min# _insurance12min# thailand20min# georgia34min# japan53min# _relationships2h# india2h# _coders2h# _gear2h# chile2h# spain3h# vietnam3h# bulgaria3h# _productivity4h# taiwan4h# san-francisco5h# _crypto5h# australia6h# _flying7h# argentina7h# _fitness7h# __roll-call7h# new-zealand7h# _javascript8h# _money9h# bali12h# chiang-mai12h# mexico17h# _overland-travel18h# _photography20h# _pets20h# _jobs-talk22h# _bargain-travel22h# _food24h# _taxes-us1d# ukraine1d# _show-and-tell1d# medellin1d# _freelance1d# germany1d# colombia2d# _housing2d# canada2d# philippines2d# _language-learning2d# malaysia2d# _taxes-intl2d# _music3d# _startups3d# budapest3d# london3d# _outdoors3d# united-states3d# turkey4d# middle-east4d# singapore4d# _politics4d# berlin4d# peru5d# _legal5d# new-york-city5d# myanmar5d# lisbon6d# south-africa6d# las-palmas7d# switzerland7d# china8d# kuala-lumpur8d# indonesia8d# panama9d# poland9d# sweden9d# costa-rica10d# south-korea10d# paris10d# portugal10d# united-kingdom10d# cambodia10d# hong-kong10d# serbia11d# europe11d# _books11d# _design12d# egypt13d# toronto15d# greece15d# austin16d# prague16d# croatia16d# _marketing16d# italy18d# romania18d# laos19d# tel-aviv20d# uruguay20d# estonia21d# _lgbt22d# _podcasts26d# netherlands26d# puerto-rico27d# africa28d# ireland28d# sri-lanka29d# france29d# amsterdam29d# _parents29d# israel1mo# guatemala1mo# russia1mo# morocco1mo# _ruby1mo# miami1mo# nicaragua1mo# venezuela1mo# denmark2mo# slovakia2mo# _corona2mo# cuba2mo# north-korea2mo# kazakhstan2mo# malta2mo# qatar2mo# lithuania2mo# ecuador2mo# dominican-republic2mo# slovenia2mo# cyprus2mo# __jobs3mo
hfdhkowcndkv3mo
Ahoy mates, some good things are now in typescript 3.7, especially optional chaining and nullish coalescing. Here is the release note for all the curious www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html
hrpfqfzw2mo
Iโ€™m trying to wrap a div around certain `p` elements that have a specific class. But I can only manage to wrap one single p element, any tips on how I could wrap for example 3 consecutive p class=โ€œwrap-meโ€ in the same div?
```(function wrap(el, wrapper) {
let element = document.querySelector(".wrap-me");
if (element) {
el.parentNode.insertBefore(wrapper, el);
wrapper.appendChild(el);
} else {
return;
}

wrap(element, document.createElement("div"));
})();```
zytzxjqr2mo
(the number of elemements needed to be wrapped can vary from zero to many, but they will always be consecutive, no other elements in between so I canโ€™t just querySelectorAll)
ixewzzxydm2mo
In the wrap function, do a next sibling check to determine if a certain `p` or not, and run the next sibling check in a recursive loop
sbcevifq2mo
Thanks, urqcamoknva that put me on the right track!
edllbwys28d
For my fellow React developers, you can add Fast Refresh to speed up your frontend feedback loop and overall workflow dutzi.party/react-fast-refresh/
toqmkxcr28d
This is really a game changer. I was working in a boring client project and felt that working on a React frontend was really slow. Until I wondered, is there even something like the React Native Fast Refresh. Then, I googled and ...
mdetnljf28d
The feeling I had after trying this was like having $10 on your bank account and 1.2 seconds later, having $3,000,000. I lost the sense of reality. ๐Ÿ™‚
prcmlmhogxcao28d
That page is broken on mobile in an incredibly frustrating way. Content appears for a second or two then the page goes blank forever. Reader mode can't find the content, either.
yipdrzuvpsqld28d
Not sure that's a library I want to add to my apps!
ifjcvpquszdmc9h
We started using `xstate` for one of our projects, and itโ€™s making miss `redux` so badly ๐Ÿ˜ข
pxcxhrnguaupe9h
It was just more predictable and straightfoward using `redux`
iwnpmxtckegzerkd8h
unpredictable state management sounds bad
โ€นโ€บ
×
USD โ”€ $
ยฐF

by levelsio

โœจ To see all results
Sign Up
Log In