[{"data":1,"prerenderedAt":137},["ShallowReactive",2],{"project-21828956":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":29,"sentiment":30,"stance_mix":31,"scored_comments":33,"aspects":34,"strip":35,"post_text":30,"what":37,"said":61,"maker_in_thread":83,"shape":90,"grid":93,"attempts":101,"same_week":102,"maker_shows":129,"maker_hidden":130,"reader_version":131,"card":132},"21828956","React Cosmos 5","A dev tool for building scalable, high-quality UIs","title","Show HN: React Cosmos 5 – A dev tool for building scalable, high-quality UIs","https:\u002F\u002Freactcosmos.org\u002F","reactcosmos.org","skidding",1576700243,2019,20,4,1193,2195,55,"shown","dev_tools","component development environment","library",[24,25,26,27,28],"react","ui components","component fixtures","typescript","react cosmos","quiet",null,{"positive":32,"neutral":33,"mixed":32,"critical":32},0,1,{},[36,32,32,32],3,{"problem":30,"audience":38,"pricing":30,"motivation":30,"time_to_build":30,"stack":44,"openness":59,"stage":60,"team_size":59},{"value":39,"source":40,"evidence":41},"React developers building UIs","inferred",[42],{"id":43},"post",[45,49],{"value":46,"source":40,"evidence":47},"React",[48],{"id":43},{"value":50,"source":40,"evidence":51},"TypeScript",[52,56],{"id":53,"by":54,"text":55},"21830575","yodon","Looks awesome - any chance there is a way to use it in a codebase that doesn't use default exports? Perhaps adding shim files that import the component and re-export as default?…",{"id":57,"by":54,"text":58},"21831806","In general each export is named with what it is, so SearchWidget.tsx, which contains a search widget, would explicitly \"export { SearchWidget }\". Both tslint and eslint support…","unknown","launched",{"praise":62,"objections":68,"requests":69,"questions":74,"alternatives":82},[63],{"value":64,"source":65,"evidence":66},"Looks awesome","commenter",[67],{"id":53,"by":54,"text":55},[],[70],{"value":71,"source":65,"evidence":72},"Support for codebases that avoid default exports",[73],{"id":53,"by":54,"text":55},[75],{"value":76,"source":65,"evidence":77},"Can Cosmos work with named-export-only TSX files?",[78,79],{"id":53,"by":54,"text":55},{"id":80,"by":11,"text":81},"21830750","I generally avoid defaults exports as well but didn't realize some codebases disable them completely. What do you mean by \"non-default-exporting\" TSX files, can you provide a…",[],{"comments":84,"answered":33,"key":85},2,[86,87],{"id":80,"text":81},{"id":88,"text":89},"21833167","Totally agree, like I said I also avoid defaults exports (for the same reasons). But I'm fine with default exports in fixtures because you never import them by hand, they are…",{"commenters":84,"max_depth":15,"maker_replies":84,"first_comment_mins":91,"lifespan_hours":92},191,13,[94,96,98,100],[53,32,36,95,54,32],"project\u002Fneutral\u002Fnone",[80,32,32,97,11,33],"maker\u002Fneutral\u002Fnone",[57,32,32,99,54,32],"commenter\u002Fneutral\u002Fnone",[88,32,32,99,11,33],[],[103,107,112,116,120,125],{"id":104,"name":105,"points":106,"category":20},"21795159","Krabby",179,{"id":108,"name":109,"points":110,"category":111},"21796753","Coerce",155,"languages",{"id":113,"name":114,"points":115,"category":20},"21794566","Clayoven",149,{"id":117,"name":118,"points":119,"category":20},"21796886","HNTerm",139,{"id":121,"name":122,"points":123,"category":124},"21780332","LastingPaper",138,"productivity",{"id":126,"name":127,"points":128,"category":20},"21789418","spacepub.space",131,6,false,"v2",{"id":133,"name":5,"line":6,"ai":130,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":30,"top":18,"kw":134,"maker":11,"domain":10,"tier":19,"attempts":32,"strip":135,"url":9,"mix":136,"praise":64,"objection":-1,"sub":21},21828956,[24,25,26,27,28],"3000",[32,33,32,32],1793990999764]