TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Create-React-App 3.3

114 pointsby reviconover 5 years ago

6 comments

misiti3780over 5 years ago
Am I the only one here that loves the idea of create-react-app but doesnt use it because it is almost impossible (or rather, was almost impossible as of a few months ago) to utilize features in webpack etc.<p>The whole idea of &quot;you need to eject&quot; and can only eject one time to install a package that allowed me to use JSX If&#x2F;Else statements [1] turned me off to the whole thing. Now I have a custom project and just create new ones with cookiecutter<p>Im open to being wrong here, but the experience kinda sucked IMO.<p>[1]<a href="https:&#x2F;&#x2F;github.com&#x2F;AlexGilleran&#x2F;jsx-control-statements" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;AlexGilleran&#x2F;jsx-control-statements</a>
评论 #21714411 未加载
评论 #21712971 未加载
评论 #21712898 未加载
评论 #21713388 未加载
评论 #21713152 未加载
cagefaceover 5 years ago
I think a lot of people have been waiting for this in order to start using the new optional chaining and nullish coalescing operators. Thanks to the Typescript and CRA teams for making this happen. This will be a nice quality of life enhancement.
davedxover 5 years ago
Hmm. I’m a frequent user of cra but this release reads quite confusing. What are templates and why do I need them? Why are there 3 different package tools used (npx, npm, yarn)? What is all that babel config for? I have to be honest, the main reason I use cra is so that stuff is abstracted away, and this release looks like a lot of it is starting to “spill back out”.<p>Don’t want this to be purely negative though. I am a huge fan of cra overall and it has helped me immensely with setting up new projects and prototyping. Just hope the core simplicity will stay.
评论 #21710612 未加载
评论 #21711909 未加载
leshowover 5 years ago
So interesting that a few years after Rust introduced the optional chaining operator, it&#x27;s been filtered through the lens of many major languages out there.<p>I think Rust was the first to do it (if you don&#x27;t count Haskell&#x27;s more general do-notation). Can anyone confirm that?
评论 #21712662 未加载
评论 #21712706 未加载
评论 #21712654 未加载
评论 #21712598 未加载
评论 #21712821 未加载
JMTQp8lwXLover 5 years ago
Question for people who use these CLIs to start projects: Since there&#x27;s so much prebaked functionality in the generated code, do you get distracted by it, when working on it?<p>The CLI probably enables a few dozen features, of which you might use a handful of. So there&#x27;s all these files and configuration code in your project that is never touched&#x2F;used. I imagine it&#x27;s a lot of white noise.<p>Whenever I start new projects, I cleanroom start with an empty git repo. Every line, in every file, has a purpose. (With time, there is some slippage. A feature could get removed, and some code doesn&#x27;t get eliminated that should, for example). But all in all, the <i>vast</i> majority of the code there serves a purpose.<p>Little to no mental energy is spent worrying about side effects or filtering through code that&#x27;s not only not relevant to my current work, but has <i>no present value in the project at all</i>.<p>I take a functional style, with the above, to allow myself to really be able to focus on my work. I sometimes feel alone in this approach, but it works for me and I see it&#x27;s benefits. I place a big premium on clarity.
评论 #21710453 未加载
评论 #21710800 未加载
评论 #21710429 未加载
评论 #21710403 未加载
评论 #21711144 未加载
评论 #21710402 未加载
评论 #21710421 未加载
评论 #21710554 未加载
评论 #21710436 未加载
评论 #21710433 未加载
评论 #21710909 未加载
评论 #21711240 未加载
评论 #21710373 未加载
评论 #21711025 未加载
评论 #21711988 未加载
评论 #21710503 未加载
评论 #21710460 未加载
评论 #21710437 未加载
评论 #21710674 未加载
tomashubelbauerover 5 years ago
Isn&#x27;t it odd that the removal of --typescript in favor of --template isn&#x27;t considered a breaking change?
评论 #21710361 未加载
评论 #21713255 未加载