React app with Redux state, mostly based around the todo example in the Redux documentation. It's a list of items (albums) which can be filtered by a string. * A list of albums that is mapped from state to props. * A filter input is controlled by redux state.
17 lines
477 B
JavaScript
17 lines
477 B
JavaScript
import React, { Component } from 'react';
|
|
import AlbumListContainer from '../containers/album-list';
|
|
import FilterInputContainer from '../containers/filter-input';
|
|
|
|
export default class App extends Component {
|
|
render() {
|
|
return (
|
|
<div>
|
|
<header>
|
|
<h1>Brütal Legend</h1>
|
|
<FilterInputContainer />
|
|
</header>
|
|
<AlbumListContainer />
|
|
</div>
|
|
);
|
|
}
|
|
}
|