Search code examples
reactjsreact-nativereduxreact-redux

Is Redux the same for React and React native?


I am currently studying RN by myself, without prior knowledge in React. A lot of things seem to exist in both such as Redux and hooks. Many of the resources I find refer to React in the title (e.g "Redux Crash Course With React").

My question is: where does the line cross between React and React Native? Would I be fine studyig form these resources that refer to React, or would that just confuse me?

I'm trying to understand a go to approach to understand which resource I'd be fine with and which would be irrelevant.


Solution

  • React Native contains React library to use it as front-end library.

    Most of usages of React are the same for React-Native. And it is same for Redux too.

    React-Native must have other libraries to build applications that can run on both of Android and iOS.

    Also it has middleware libraries that allow us to use most of native libraries' functionalities. As an example you can check Alert directory out. It is used for to show native Android alert dialogs.

    Good luck..