-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added redux for state management #16
Conversation
src/actions/locale.js
Outdated
import {SET_LOCALE} from '../constants/actions'; | ||
|
||
export const setLocale = value => dispatch => { | ||
dispatch({type: SET_LOCALE, payload: value}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check if you have setup eslinter/prettier correctly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pranavrajs Eslint/Prettier is working. I think it is good If there is a line separation between import statements and other codes. This is just a suggestion, please ignore if you don't agree or we can customize the Eslint rule padding-line-between-statements
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pranavrajs Please review now
Fixes #15
redux
,react-redux
,redux-thunk
,redux-persist
,redux-logger
&async-storage
dependencies..gitignore
file.locale