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
{{ message }}
This repository was archived by the owner on May 4, 2019. It is now read-only.
In an *imperative* example using jquery you could have a listener to that specific link, and when it's clicked have it toggle the hidden filters container:
31
31
@@ -41,7 +41,7 @@ How can we do better???
41
41
42
42
Let's now look at the more *declarative* example with our initial Reflux implementation.
43
43
44
-
### The new kid on the block...Reflux:
44
+
### Reflux - the first attempt:
45
45
46
46
What if we had access to a boolean that told us whether we should show or hide the hidden filters container? Our React components would listen to that boolean so it would know what to display (...*declarative*), then our link component would simply dispatch an action that would toggle that boolean when clicked.
47
47
@@ -168,7 +168,7 @@ I know this might seem like overkill essentially replacing 3 lines of jquery and
168
168
But this tutorial isn't about why you should use React. What about Reflux???
169
169
170
170
171
-
### That new hotness...Redux:
171
+
### Redux - Finally:
172
172
173
173
When you start building larger production level applications that require many types of stores and a more complex data model, reflux can start to feel a little bloated (TERRIBLE PUN). Redux is a natural successor to reflux (and other flux patterns in general).
174
174
@@ -588,9 +588,7 @@ export default connect(
588
588
589
589
## EXAMPLE 3: Filtering that Fetched Data
590
590
591
-
What if we want to filter any of our existing data? For that you use [reselect](https://rackt.github.io/redux/docs/recipes/ComputingDerivedData.html).
592
-
593
-
Reselect allows you to create memoized selectors that only update when the sections of the store that it is listening to are updated.
591
+
What if we want to filter any of our existing data? For that you use [reselect](https://rackt.github.io/redux/docs/recipes/ComputingDerivedData.html). Reselect allows you to create memoized selectors that only update when the sections of the store that it is listening to are updated.
0 commit comments