[{"data":1,"prerenderedAt":416},["ShallowReactive",2],{"project-17793375":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":27,"sentiment":28,"stance_mix":29,"scored_comments":33,"aspects":34,"strip":42,"post_text":44,"what":45,"said":77,"maker_in_thread":160,"shape":169,"grid":173,"attempts":373,"same_week":379,"maker_shows":161,"maker_hidden":408,"reader_version":409,"card":410},"17793375","Umbrella JS","A 2.5kb jQuery alternative","title","Show HN: Umbrella JS, a 2.5kb jQuery alternative","https:\u002F\u002Fumbrellajs.com\u002F","umbrellajs.com","franciscop",1534669270,2018,132,75,318,2155,15,"notable","languages","javascript library","library",[24,21,25,26],"jquery alternative","dom manipulation","lightweight javascript","debated",-0.024,{"positive":30,"neutral":31,"mixed":32,"critical":30},5,10,0,20,{"execution":35,"design":36,"idea":38,"performance":40,"docs":41},{"positive":32,"critical":32},{"positive":37,"critical":37},2,{"positive":37,"critical":39},3,{"positive":32,"critical":32},{"positive":32,"critical":32},[32,39,30,32,32,30,32,39,32,39,43,32,30,32,32,32,32,32,43,39,32,32,32,39,32,32,32,32,32,32,32,32,39,39,39,30,32,43,39,43],1,null,{"problem":46,"audience":56,"pricing":44,"motivation":62,"time_to_build":44,"stack":69,"openness":74,"stage":75,"team_size":76},{"value":47,"source":48,"evidence":49},"Lightweight DOM manipulation without the size of jQuery","maker",[50,53],{"id":51,"by":11,"text":52},"17793376","I submitted this 3 years back [1] when I was starting. But now I think it's finished and well polished, so I am resubmitting it. I am happy to say that I don't normally find bugs…",{"id":54,"by":11,"text":55},"17794680","For the other points, the other comments are quite spot on. Load speed: Umbrella's 2.5kb loads well under the rule-of-thumb size of a single packet of 14kb [1], so you have to do…",{"value":57,"source":48,"evidence":58},"Developers building small-to-mid sized front-end projects",[59],{"id":60,"by":11,"text":61},"17794676","Yep, exactly. I use Umbrella JS (author here!) for most side projects. I only reach for React for SPA and state-heavy projects. These cases with jQuery (or Umbrella JS) is tricky…",{"value":63,"source":48,"evidence":64},"Finished and polished library, resubmitted after growing adoption; aims to be closer to native JavaScript than jQuery",[65,66],{"id":51,"by":11,"text":52},{"id":67,"by":11,"text":68},"17794658","No, no method would pass all of the tests for said method in jQuery. I believe a part of those tests in jQuery are retroactive to settle the behavior of very edge undocumented…",[70],{"value":71,"source":48,"evidence":72},"JavaScript",[73],{"id":67,"by":11,"text":68},"open_source","launched","unknown",{"praise":78,"objections":94,"requests":112,"questions":124,"alternatives":133},[79,88],{"value":80,"source":81,"evidence":82},"Small size makes it attractive versus jQuery","commenter",[83,87],{"id":84,"by":85,"text":86},"17794611","throwawaysky9","jQuery is 84 KB minimized, while Vue is 85 KB. Not much of a difference (although, granted, Umbrella JS is notably smaller). You don't necessarily need Webpack for Vue, you can…",{"id":54,"by":11,"text":55},{"value":89,"source":48,"evidence":90},"Well-designed documentation and testing",[91],{"id":92,"by":11,"text":93},"17795891","Zepto is intended as a full clone; objectives are quite different from Umbrella, so I don't see an overlap here since size is not such a priority. Using plugins? Zepto. Care…",[95,106],{"value":96,"source":81,"evidence":97},"jQuery is no longer needed given modern browser APIs",[98,102],{"id":99,"by":100,"text":101},"17794869","aphextron","I know exactly what jQuery is. I’ve used it happily for years on many projects. However it is completely obsolete in 2018 for anyone that does not need to support IE8.",{"id":103,"by":104,"text":105},"17795300","the_duke","But why do you need jQuery for that? Browser APIs have gotten good enough that jQuery is not really needed anymore, imo.",{"value":107,"source":81,"evidence":108},"Vue and React make jQuery-style DOM work less necessary",[109],{"id":110,"by":85,"text":111},"17794546","I don't want to be \"that guy\", but haven't most people moved on to something like Vue instead of manipulating the DOM directly? Every developer I've worked with learned the…",[113],{"value":114,"source":81,"evidence":115},"Clarify compatibility with jQuery and browser support such as IE",[116,120],{"id":117,"by":118,"text":119},"17794246","brennebeck","Looks interesting. How compatible with jquery is it? You say a subset, but is that an exact subset that would pass tests for those methods? Either way, well done!",{"id":121,"by":122,"text":123},"17795020","GuB-42","How does it fare when it comes to browser compatibility? IIRC, one of the main selling point of jQuery is compatibility with browsers like IE6.",[125,129],{"value":126,"source":81,"evidence":127},"How compatible is it with jQuery's tested behavior?",[128],{"id":117,"by":118,"text":119},{"value":130,"source":81,"evidence":131},"How does browser compatibility compare, especially IE?",[132],{"id":121,"by":122,"text":123},[134,141,145,149,153],{"value":135,"source":81,"evidence":136},"Zepto",[137],{"id":138,"by":139,"text":140},"17795726","bufferoverflow","There are established tiny jQuery alternatives: Zepto: https:\u002F\u002Fgithub.com\u002Fmadrobby\u002Fzepto Cash: https:\u002F\u002Fgithub.com\u002Fkenwheeler\u002Fcash How is yours better?",{"value":142,"source":81,"evidence":143},"Cash",[144],{"id":138,"by":139,"text":140},{"value":146,"source":81,"evidence":147},"jQuery",[148],{"id":84,"by":85,"text":86},{"value":150,"source":81,"evidence":151},"Vue",[152],{"id":110,"by":85,"text":111},{"value":154,"source":81,"evidence":155},"Picnic CSS",[156],{"id":157,"by":158,"text":159},"17794543","simonw","This looks pretty great - I really like the look of Picnic, the author's lightweight (10KB) bootstrap alternative as well: https:\u002F\u002Fgithub.com\u002Ffranciscop\u002Fpicnic",{"comments":161,"answered":162,"key":163},13,4,[164,165,166],{"id":51,"text":52},{"id":67,"text":68},{"id":167,"text":168},"17796175","Thank for npm-stat! I use it a lot and love it, see my other repos from my website (in my profile). Not sure how much sense it makes for Umbrella JS though, since traditionally…",{"commenters":170,"max_depth":171,"maker_replies":161,"first_comment_mins":32,"lifespan_hours":172},47,6,134,[174,176,178,182,184,188,190,192,194,196,198,200,204,207,209,212,215,217,221,224,227,229,232,235,238,241,244,247,249,252,255,258,259,261,264,267,268,270,273,276,278,280,283,285,286,287,290,292,295,298,301,304,307,310,313,316,318,319,322,324,327,330,333,337,342,345,348,351,354,356,358,362,365,369,371],[51,32,32,175,11,43],"maker\u002Fpositive\u002Fexecution",[117,32,39,177,118,32],"project\u002Fneutral\u002Fexecution",[179,32,32,180,181,32],"17794478","commenter\u002Fneutral\u002Fnone","sonofblah",[67,32,32,183,11,43],"maker\u002Fneutral\u002Fexecution",[185,32,30,186,187,32],"17796065","maker\u002Fpositive\u002Fnone","pvorb",[167,32,32,189,11,43],"maker\u002Fneutral\u002Fnone",[191,32,32,180,187,32],"17796221",[193,32,32,189,11,43],"17796256",[195,32,32,180,187,32],"17796329",[157,43,30,197,158,32],"project\u002Fpositive\u002Fdesign",[199,43,32,189,11,43],"17794836",[201,43,32,202,203,32],"17795122","other\u002Fneutral\u002Fnone","pritambaral",[205,43,32,180,206,32],"17799580","postcss",[110,37,43,208,85,32],"project\u002Fcritical\u002Fidea",[210,37,30,211,158,32],"17794556","project\u002Fpositive\u002Fidea",[213,37,32,180,214,32],"17794589","mmargerum",[84,37,39,216,85,32],"project\u002Fneutral\u002Fperformance",[218,37,39,219,220,32],"17795263","project\u002Fneutral\u002Fidea","wild_preference",[222,37,32,180,223,32],"17796522","gremlinsinc",[225,37,43,208,226,32],"17796092","EB66",[228,37,32,202,223,32],"17796516",[230,37,32,180,231,32],"17797065","pier25",[233,37,30,211,234,32],"17794591","CM30",[236,37,32,202,237,32],"17794663","goatlover",[239,37,32,202,240,32],"17796480","Sharlin",[242,37,32,202,243,32],"17794624","waveforms",[245,37,32,202,246,32],"17794654","Secretmapper",[60,37,32,248,11,43],"project\u002Fpositive\u002Fnone",[250,37,32,202,251,32],"17794754","krishanath",[253,37,32,202,254,32],"17795318","ttty",[256,37,32,202,257,32],"17795161","alangpierce",[103,37,32,202,104,32],[54,37,32,260,11,43],"project\u002Fpositive\u002Fperformance",[262,37,43,208,263,32],"17795275","jedisct1",[265,37,32,202,266,32],"17795615","ivanhoe",[121,39,39,177,122,32],[269,39,32,183,11,43],"17795062",[271,39,32,202,272,32],"17797037","kristianp",[274,39,32,202,275,32],"17796319","paulie_a",[277,39,32,202,187,32],"17796746",[279,39,32,202,275,32],"17797066",[281,39,32,202,282,32],"17800391","hacym",[284,39,32,202,187,32],"17838370",[138,162,39,219,139,32],[92,162,32,175,11,43],[288,30,32,202,289,32],"17797027","intellix",[291,30,32,202,11,43],"17798878",[293,171,32,202,294,32],"17797177","trumped",[296,297,32,202,100,32],"17794661",7,[299,297,32,202,300,32],"17794705","dagoat",[302,297,32,202,303,32],"17794797","tenryuu",[305,297,32,306,100,32],"17794876","other\u002Fcritical\u002Fnone",[308,297,32,202,309,32],"17795527","boubiyeah",[311,297,32,202,312,32],"17795185","is_true",[314,297,32,202,315,32],"17794712","jister",[317,297,32,202,251,32],"17794719",[99,297,32,306,100,32],[320,297,32,180,321,32],"17796371","alphakappa",[323,297,32,202,231,32],"17797095",[325,297,32,202,326,32],"17794758","octosphere",[328,297,39,219,329,32],"17796520","darol100",[331,297,39,219,332,32],"17800473","vivab0rg",[334,335,32,202,336,32],"17805190",8,"Joyfield",[338,339,39,340,341,32],"17794563",9,"project\u002Fneutral\u002Fdocs","paradite",[343,339,39,340,344,32],"17794679","anothergoogler",[346,339,32,347,11,43],"17794724","maker\u002Fneutral\u002Fdocs",[349,339,30,350,341,32],"17794894","maker\u002Fpositive\u002Fdesign",[352,339,32,180,353,32],"17794819","maxerickson",[355,339,32,202,257,32],"17795214",[357,339,32,180,220,32],"17795213",[359,31,43,360,361,32],"17795807","project\u002Fcritical\u002Fdesign","hughes",[363,31,32,364,11,43],"17795910","maker\u002Fneutral\u002Fdesign",[366,31,39,367,368,32],"17796513","project\u002Fneutral\u002Fdesign","acqq",[370,31,32,364,11,43],"17798889",[372,31,43,360,361,32],"17804362",[374,378],{"id":375,"t":376,"points":377,"comments":33},"10954191",1453484015,67,{"id":4,"t":12,"points":14,"comments":15},[380,385,389,394,398,403],{"id":381,"name":382,"points":383,"category":384},"17782121","git-bug",447,"dev_tools",{"id":386,"name":387,"points":388,"category":384},"17773982","Wayland compositor in around 500 lines of annotated C",332,{"id":390,"name":391,"points":392,"category":393},"17782278","abyjames.com",256,"productivity",{"id":395,"name":396,"points":397,"category":20},"17787180","TinyGo",177,{"id":399,"name":400,"points":401,"category":402},"17817466","SVG 3D Builder",157,"creative",{"id":404,"name":405,"points":406,"category":407},"17784308","greview",138,"data",false,"v2",{"id":411,"name":5,"line":6,"ai":408,"cat":20,"year":13,"points":14,"comments":15,"rec":27,"s":412,"top":18,"kw":413,"maker":11,"domain":10,"tier":19,"attempts":37,"strip":414,"url":9,"mix":415,"praise":80,"objection":96,"sub":21},17793375,-0.02,[24,21,25,26],"0350050303105000001300030000000033350131",[30,31,32,30],1794036568822]