TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Create React App 2.0: Babel 7, Sass, and More

200 点作者 stablemap超过 6 年前

9 条评论

b-nint超过 6 年前
I'm disappointed setting up typescript is still such a pain with 2.0.
评论 #18118349 未加载
评论 #18119247 未加载
评论 #18118471 未加载
评论 #18118323 未加载
评论 #18118402 未加载
评论 #18118316 未加载
评论 #18118413 未加载
评论 #18118430 未加载
评论 #18118308 未加载
sephware超过 6 年前
&gt; <i>More styling options: you can use Sass and CSS Modules out of the box.</i><p>This is what I&#x27;m most excited about. Emotion is great but I&#x27;ve heard a lot of great things about CSS Modules, just haven&#x27;t gotten around to trying them out yet because it&#x27;s been so complicated to do. I&#x27;ll definitely be giving it a try now.
评论 #18119793 未加载
评论 #18119664 未加载
评论 #18123648 未加载
评论 #18120238 未加载
duncan-donuts超过 6 年前
These are some pretty great improvements. I never felt I had to have cssmodules or sass, but I’ll definitely use them. Great work!
评论 #18118591 未加载
tobr超过 6 年前
I see Facebook’s React team is in the comments. Please keep in mind that the open source aspect of React is part of Facebook’s hiring strategy. While I believe the React team are genuine in their friendliness and passion for their work, they also represent and are payed handsomely by one of the worst offenders in surveillance capitalism.<p>(I realize some might feel a comment like this is out of place here, but considering the recent news about enormous leaks and privacy violations, I think it would be more strange if it wasn’t brought up.)
评论 #18125781 未加载
amelius超过 6 年前
I tried Babel some time ago, but I can remember it was painfully slow. Has this improved?<p>I also didn&#x27;t understand why so much functionality for different languages are harbored by a single tool, instead of multiple smaller tools.
评论 #18119885 未加载
chrisweekly超过 6 年前
Stoked to see service workers will use Workbox!
pyman超过 6 年前
Thanks for all the hardwork. I used this library when I worked at Uber and Netflix.
magicbuzz超过 6 年前
Is it possible to use Redux without an eject?
评论 #18118464 未加载
评论 #18118519 未加载
评论 #18118395 未加载
评论 #18118833 未加载
laurent123456超过 6 年前
&gt; If you previously ejected but now want to upgrade, one common solution is to find the commits where you ejected (and any subsequent commits changing the configuration), revert them, upgrade, and later optionally eject again.<p>That seems insane to be honest, yet it&#x27;s seems to be the norm to upgrade a framework in JavaScript (same with React Native). Is that the best solution there is? In many other languages, you can upgrade a framework without reverting commits or trying to figure out what to keep or change in huge diffs. Surely there should be a way to keep the base config untouched, and have user changes in a separate config that overrides the base on?
评论 #18119180 未加载
评论 #18119246 未加载
评论 #18119188 未加载