You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Redux 4 is here! 🎉 If you're a React user, this is going to be a lot like going from 15 to 16. Not a lot of user-facing changes, but some interesting improvements under the hood. The major changes (#1342) are around our TypeScript definitions, bundled CommonJS and ES builds, throwing if you subscribe or getState from a reducer, and a bunch of other smaller things. The full changes are listed belo
FOR DISCUSSION ONLY - DO NOT MERGE Per discussion in #890 , React-Redux will need to change to support React's upcoming async rendering behavior. I spent this afternoon experimenting with an update of our current v5 codebase to use the new React.createContext() API that will be out in React 16. To my very pleasant surprise, it actually seems to be working out better than I thought it would. Summar
It's time to bump the major version on Redux! 🎉 This is the first beta release of 4.0.0. Despite the version bump, the changes are relatively minor. Most of it was covered in the 4.0 tracking issue: #1342. The largest amount of work was done with our Typescript definitions. They have been completely overhauled, so they should work better and take advantage of all the new stuff in TS 2.x. The othe
Another long break! Oh, hey! I didn't see you sitting there. You look bored. How about a Redux release to spice things up? Not a huge set of changes to report here. The biggest change, and the reason for the minor bump, is the UMD build is now done via Rollup. One big advantage is more readable code in the bundle. Rollup does "scope hoisting", which is a fancy term for putting every module at the
This release is brought to you by contributions from the following people: @jimbolla, @vhmth, @btd, @roncohen, @ynonp, and @appden. In addition, there were many non-code contributions in discussions on issues and testing the alpha, beta, and rc versions by many other folks (too many to list!). Thank you to everyone who made this a very positive, inclusive, well-critiqued, community-driven release!
Hey, it's been a while! How's everyone doing? Enjoying your summer (or winter for the Southern Hemisphere folks)? This is a bugfix release for Redux. We're working towards a 4.0 with more substantial changes. Please see #1342 to pitch in! Dan also ported all the examples (except the universal one) in #1883 to use the excellent Create React App. This means the changes in #1800 have been lost. If yo
As @slorber notes, once you go single-treeish, local component state begins to bother you. I don't feel strongly about it (I'm fine with some local component state here and there), but it would be interested to explore API and implementation-wise the idea of replacing React local component state with state backed by Redux with “ephemeral” reducers whose data is erased when their owner component un
This is a glossary of the core terms in Redux, along with their type signatures. The types are documented using Flow notation. State State (also called the state tree) is a broad term, but in the Redux API it usually refers to the single state value that is managed by the store and returned by getState(). It represents the entire state of a Redux application, which is often a deeply nested object.
In the new docs (#140) we should clarify that any actions prefixed with @@ are not meant to be handled. For example, you should never try to handle @@INIT. We might enforce that by slightly randomizing names (e.g. @@INIT_2hj3jh34). Handling @@INIT manually will break hot reloading. It is invoked at every hot reload, so if you do your initial data transformation there, it won't work the second time
Inspired by this little tweetstorm. Problem: Side Effects and Composition We discussed effects in Redux for ages here but this is the first time I think I see a sensible solution. Alas, it depends on a language feature that I personally won’t even hope to see in ES. But would that be a treat. Here’s the deal. Redux Thunk and Redux Saga are relatively easy to use and have different pros and cons bu
Creating this issue to keep a pile of breaking changes we want to release at once. This doesn’t mean we plan to do much breaking changes! Mostly they are cosmetic but since we’re using semver, we want to batch them. This is why this issue exists. Updated TypeScript bindings (for TS 2.0+) Remove ActionTypes from createStore exports. It was never intended to be a part of public API. It is not visibl
I already read the discussion in #579... In this thread @gaearon said "I'm up for supporting Bower if there is enough interest in it." but if the thread is locked no one can express their interest. "We won't put build products into Git repo. Otherwise every second new PR will contain changes to the built files, because people will keep doing this." Just do this: https://github.com/reactjs/react-bo
This release brings a few changes that, while aimed at making the developer experience better, should have no noticeable impact on your apps. In development, combineReducers() now checks the state shape on every invocation instead of just once. This makes it easy to discover issues like #715 where you post-process the state from combineReducers() and then wonder why something you added to it has d
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く