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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃拵 Release 2.0.0 #1

Merged
merged 27 commits into from Jul 15, 2018
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
015639c
Convert all line breaks to LF
alik0211 Jun 26, 2018
5e49732
Move JSX from containers to components
alik0211 Jun 26, 2018
cbbf11b
Remove bindActionCreators
alik0211 Jun 26, 2018
e56635b
Use only the kebab-case in the names of files
alik0211 Jun 26, 2018
bf99022
Use currentTarget instead of target
alik0211 Jun 26, 2018
7eebc6a
Fix problem with case in file names
alik0211 Jun 27, 2018
7e37348
Add prettier pre-commit hook
alik0211 Jun 27, 2018
4b8d47a
Ignore yarn.lock
alik0211 Jun 27, 2018
bf4b8dd
Use simple names for actions
alik0211 Jun 27, 2018
5f7366b
Divide the get and set of pok茅mons
alik0211 Jun 27, 2018
7884175
Use simple name for search string
alik0211 Jun 27, 2018
4204a73
Put a limit in the function argument
alik0211 Jun 27, 2018
32aad97
Use appropriate names for the data that came from the server
alik0211 Jun 27, 2018
15dd7a2
Handle network errors
alik0211 Jun 27, 2018
98c2d20
Update husky
alik0211 Jun 29, 2018
f69fbe7
Beautifully show error
alik0211 Jun 29, 2018
99e280b
Use payload to transfer data from action
alik0211 Jun 29, 2018
7258787
Pass only the necessary data to the page
alik0211 Jun 29, 2018
5790167
Optimize your pok茅mon component
alik0211 Jun 29, 2018
3797e3b
Update redux-thunk
alik0211 Jun 29, 2018
6072f22
Update prettier
alik0211 Jul 7, 2018
f08fbfe
Move all redux files to a separate folder
alik0211 Jul 7, 2018
59a62b3
Fix the limit filter to the search
alik0211 Jul 7, 2018
26e162b
Fix the path to the actions file page
alik0211 Jul 7, 2018
88302a9
Remove the function name from the reducer
alik0211 Jul 15, 2018
069fbad
Remove limit from filterPokemons
alik0211 Jul 15, 2018
5f26e27
Refactor filterPokemons
alik0211 Jul 15, 2018
File filter...
Filter file types
Jump to鈥
Jump to file or symbol
Failed to load files and symbols.
+8 鈭8
Diff settings

Always

Just for now

Use only the kebab-case in the names of files

  • Loading branch information...
alik0211 committed Jun 26, 2018
commit e56635b4d576ba3c65ffa4bb0e0bda84c9f9b6cf
@@ -2,7 +2,7 @@ import {
FETCH_POKEMONS_REQUEST,
FETCH_POKEMONS_SUCCESS,
FILTER_POKEMONS
} from '../constants/Page'
} from '../constants/page'

function requestPokemons() {
return {
Copy path View file
@@ -1,6 +1,6 @@
import React, { Component } from 'react'
import Pokemon from '../components/Pokemon'
import Search from '../components/Search'
import Pokemon from '../components/pokemon'
import Search from '../components/search'

class Page extends Component {
componentDidMount() {
Copy path View file
@@ -1,6 +1,6 @@
import { connect } from 'react-redux'
import * as pageActions from '../actions/PageActions'
import Page from '../components/Page'
import * as pageActions from '../actions/page'
import Page from '../components/page'

function mapStateToProps(state) {
return {
Copy path View file
@@ -1,9 +1,9 @@
import React from 'react'
import { render } from 'react-dom'
import { Provider } from 'react-redux'
import Page from './containers/Page'
import Page from './containers/page'
import './style/main.css'
import configureStore from './store/configureStore'
import configureStore from './store/configure-store'

const store = configureStore()

Copy path View file
@@ -2,7 +2,7 @@ import {
FETCH_POKEMONS_REQUEST,
FETCH_POKEMONS_SUCCESS,
FILTER_POKEMONS
} from '../constants/Page'
} from '../constants/page'

const initialState = {
isFetched: false,
File renamed without changes.
ProTip! Use n and p to navigate between commits in a pull request.