Skip to content

Commit f43a085

Browse files
lazaroalvarengatimdorr
authored andcommitted
Update General.md (#3144)
Updated index links to do an anchor action. The <a> Tag was empty and would not work. Links (###) also work with a "slugify" version of your destiny titles.
1 parent b44984a commit f43a085

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

docs/faq/General.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22

33
## Table of Contents
44

5-
- [When should I learn Redux?](#general-when-to-learn)
6-
- [When should I use Redux?](#general-when-to-use)
7-
- [Can Redux only be used with React?](#general-only-react)
8-
- [Do I need to have a particular build tool to use Redux?](#general-build-tools)
5+
- [When should I learn Redux?](#when-should-i-learn-redux)
6+
- [When should I use Redux?](#when-should-i-use-redux)
7+
- [Can Redux only be used with React?](#can-redux-only-be-used-with-react)
8+
- [Do I need to have a particular build tool to use Redux?](#do-i-need-to-have-a-particular-build-tool-to-use-redux)
99

1010

1111
## General
1212

13-
<a id="general-when-to-learn"></a>
1413
### When should I learn Redux?
1514

1615
What to learn can be an overwhelming question for a JavaScript developer. It helps to narrow the range of options by learning one thing at a time and focusing on problems you find in your work. Redux is a pattern for managing application state. If you do not have problems with state management, you might find the benefits of Redux harder to understand. Some UI libraries (like React) have their own state management system. If you are using one of these libraries, especially if you are just learning to use them, we encourage you to learn the capabilities of that built-in system first. It might be all you need to build your application. If your application becomes so complex that you are confused about where state is stored or how state changes, then it is a good time to learn Redux. Experiencing the complexity that Redux seeks to abstract is the best preparation for effectively applying that abstraction to your work.
@@ -33,7 +32,6 @@ What to learn can be an overwhelming question for a JavaScript developer. It hel
3332
- [Twitter: This was my experience with Redux...](https://twitter.com/garetmckinley/status/901500556568645634)
3433
- [Dev.to: When is it time to use Redux?](https://dev.to/dan_abramov/comment/1n2k)
3534

36-
<a id="general-when-to-use"></a>
3735
### When should I use Redux?
3836

3937
The need to use Redux should not be taken for granted.
@@ -81,13 +79,11 @@ In the end, Redux is just a tool. It's a great tool, and there are some great r
8179
- [Twitter: Redux is a platform for developers to build customized state management with reusable things](https://twitter.com/acemarke/status/793862722253447168)
8280

8381

84-
<a id="general-only-react"></a>
8582
### Can Redux only be used with React?
8683

8784
Redux can be used as a data store for any UI layer. The most common usage is with React and React Native, but there are bindings available for Angular, Angular 2, Vue, Mithril, and more. Redux simply provides a subscription mechanism which can be used by any other code. That said, it is most useful when combined with a declarative view implementation that can infer the UI updates from the state changes, such as React or one of the similar libraries available.
8885

8986

90-
<a id="general-build-tools"></a>
9187
### Do I need to have a particular build tool to use Redux?
9288

9389
Redux is originally written in ES6 and transpiled for production into ES5 with Webpack and Babel. You should be able to use it regardless of your JavaScript build process. Redux also offers a UMD build that can be used directly without any build process at all. The [counter-vanilla](https://github.com/reduxjs/redux/tree/master/examples/counter-vanilla) example demonstrates basic ES5 usage with Redux included as a `<script>` tag. As the relevant pull request says:

0 commit comments

Comments
 (0)