๐Ÿ”Ž
 Hire Remotely Forum Advertise New Nomad Insurance New Coliving NewCommunity Dating Chat Remote Jobs 8 
  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
๐Ÿ‘ฉโ€๐Ÿ’ป Remote jobsโœˆ๏ธ  Airlines๐Ÿ—บ  Neighborhoods๐Ÿ  Coworkations๐Ÿฌ  Coworking spaces๐Ÿ”–  Incorporate๐Ÿก  Coliving๐Ÿš‘  Insurance
๐Ÿ“ฃ  Advertise๐Ÿ™Œ  Open Startup๐Ÿ’  Help
Javascript Chat

All Channels
Join Nomad List to chat
# thailand1min# ___general2min# _lgbt3min# japan5min# canada5min# _taxes-us20min# _relationships29min# _housing33min# _food1h# south-korea1h# vietnam1h# _books2h# georgia2h# costa-rica2h# _flying2h# _coders2h# _bargain-travel3h# bulgaria3h# _pets3h# _startups3h# lisbon4h# australia4h# sri-lanka4h# hong-kong5h# india5h# _design5h# __roll-call5h# colombia5h# new-zealand5h# new-york-city6h# _gear7h# mexico7h# taiwan7h# kuala-lumpur7h# _money8h# bali10h# _photography10h# argentina12h# _music12h# ukraine13h# italy14h# israel16h# china16h# estonia17h# spain17h# _politics18h# south-africa18h# _productivity20h# guatemala22h# brazil22h# ecuador22h# morocco1d# egypt1d# _fitness1d# germany1d# _legal1d# _crypto1d# nicaragua1d# _jobs-talk1d# puerto-rico2d# _freelance2d# berlin2d# philippines2d# malaysia2d# chiang-mai2d# france3d# medellin3d# poland3d# peru3d# budapest3d# portugal4d# singapore4d# _marketing4d# _show-and-tell5d# _outdoors5d# malta5d# russia5d# _taxes-intl6d# _overland-travel6d# paris6d# denmark6d# _insurance6d# uruguay7d# lithuania7d# cambodia9d# united-states9d# amsterdam9d# dominican-republic10d# greece10d# switzerland11d# slovenia12d# qatar12d# london13d# cyprus13d# panama13d# united-kingdom14d# montreal15d# las-palmas15d# miami15d# chile15d# romania15d# croatia15d# tel-aviv15d# netherlands16d# europe18d# austin20d# __jobs22d# _ruby22d# kazakhstan22d# turkey23d# serbia24d# _language-learning25d# middle-east26d# sweden26d# africa27d# prague27d# slovakia28d# _javascript29d# toronto30d# myanmar1mo# latvia1mo# indonesia1mo# norway1mo# bolivia1mo# latin-america2mo# north-korea2mo# laos2mo# iceland2mo# ireland2mo# macedonia2mo# montenegro2mo# asia3mo# _dating3mo# iran3mo# mauritius3mo# belgium3mo# moldova3mo# austria3mo# san-francisco3mo
qgyjhcsiwfp3mo
Anyone learning Svelte? Any good online resources that you're going through to learn it?
lmalpupgkepuuq3mo
pvdjmyesytgm their tutorial page is interactive and you can play around with a REPL as well
lkzflfhvwil3mo
Yeah...that's so good. Really nice to play around with.
makgkfobnbhxug3mo
I kinda read their tutorial + API docs and felt really good about starting something with it
wibulvcigwinbg3mo
wanted to wait for official TS support, but it's taking some time
lqzdael3mo
I'll try Svelte when they get native TyprScript support. ๐Ÿ™‚
wscpcaq3mo
But, even more so, I want to try web components on the next project.
dpajdvd3mo
I.e. native web components, without any framework.
ndruuag3mo
I already played with lit a bit and it seems to work fine.
qbzboodocmbvxw3mo
vetvgnfw doesn't the amount of boilerplate throw you off a bit?
oxjbgbhcifzxba3mo
a very recent talk from the creator of svelte that touches on web components www.youtube.com/watch?v=BzX4aTRPzno
qikybhfcst3mo
From 24 min mark the future and environment topics were very interesting
pdkqdws3mo
rhpvoinqfxbxblz it might .. i need to try it on a pet project. so far I've only dabbled with some "hello world" type stuff
ijitofa3mo
He basically described single file Vue components. They also include everything in one file.
ggcuapvo3mo
i'm really digging the phoenix live view stuff, it does an efficient diff of changes (in json format) and sends it to the frontend for updates.. so most of the business logic can stay on the server side
qokccvvz3mo
doesn't eliminate javascript for sure, but hopefully reduces the duplication of business logic
gvbbakqs3mo
that's elixir/phoenix
rzmrlaqu3mo
the problem i sort of have with javascript is that it's kind of an all or nothing affair.. it's hard to justify not doing a javascript backend when you commit to a proper full on SPA thing.. because why wouldn't you want a full isometric codebase, same code for business logic on backend and frontend etc?
ifwocfau3mo
i don't have a problem with javascript itself per se, esp since es6 is so ruby-like to me (all that coffeescript influence probably)
onhftfpwoxcn2mo
youhou! non experimental esm module are live in node 13.2 nodejs.org/en/blog/release/v13.2.0/
ucpxptzc2mo
This is great news!
aflmozbg2mo
Still require a flag though no?
plpgvpxuggw2mo
I think being live means it's not behind a flag, it says

> Unflag --experimental-modules
in the changeset
hqogbmpk2mo
Ah you are quite right, I misread the changelog
kfgltecngshv2mo
yes, no more flags. Node support officialy esm modules in 13.2
qblaydct2mo
Can someone point me to a good tutorial how to troubleshoot Js performance?
Iโ€™m inserting around 1000 elements, and everything works fine except in Safari xP
sqnyuaenpcsrsf2mo
Safari is the IE6 of modern browsers. If your usage data doesn't show a significant percentage of users on it, it's not worth the time to fix it, imho.
eofqpybu2mo
Unfortunately itโ€™s a must
ceabmhvrn2mo
Try inserting them once as a string
setocgmas2mo
So you first go over the 1000 things in a for loop then concat them to a string of HTML
waqiykufe2mo
Then at end insert the string instead as HTML to dom
hvthhtqlh2mo
Thats what I do on Nomad List
ucwxzecc2mo
I was doing that as well but no luck in Safari. Iโ€™ve added now โ€˜50 per pageโ€™ on scroll only, that helped if you donโ€™t get too crazy.
Thanks for the tip txnzotixru
fxhvoynmswyy29d
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
โ€นโ€บ
×
USD โ”€ $
ยฐF

by levelsio

โœจ To see all results
Sign Up
Log In