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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Create-react-app is great but it lacks something: Redux and its configurations

6 点作者 delvallejonatan大约 8 年前

3 条评论

acemarke大约 8 年前
It&#x27;s interesting you should bring this up. I&#x27;m a Redux maintainer, and I recently opened up an issue for discussion of possible useful &quot;official&quot; libraries or tooling that could be built on top of Redux: <a href="https:&#x2F;&#x2F;github.com&#x2F;reactjs&#x2F;redux&#x2F;issues&#x2F;2295" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;reactjs&#x2F;redux&#x2F;issues&#x2F;2295</a> .<p>A basic option might be a small library that simply creates a pre-configured store for you, and possibly also includes some common useful utilities (redux-thunk, reselect, redux-actions, etc). At a higher level, Dan Abramov suggested that he would like to see something that has data fetching, normalization, and code splitting built in.<p>Another approach would be something that sits on top of Create-React-App, kind of like what you&#x27;ve built here. Your tool looks interesting, although it looks considerably more opinionated in terms of React-related libraries than something we might want to dub as an &quot;official&quot; Redux tool.<p>I&#x27;d love to have you join the discussion in that issue and help us come up with ideas for ways to improve Redux and the ecosystem!
评论 #14029696 未加载
评论 #14028520 未加载
forgottenacc57大约 8 年前
Thank god it doesn&#x27;t contain Redux, entirely optional and entirely complex.<p>Just recently someone was telling me about how hard ReactJs was to learn and from what I could glean, at least part of the learning challenge was because he felt he had to use Redux because many people perceive react and redux to go hand in hand.
评论 #14029002 未加载
评论 #14038959 未加载
mmgutz大约 8 年前
Why not custom scripts via `--scripts-version`? How do you keep things up-to-date like create-react-app does?
评论 #14029661 未加载