Mini Project: Photo App Setup environment Github Project: https://github.com/paulnguyen-mn/redux-photo-app 1. Setup ReactJS App via Create …
Mini Project: Photo App Setup environment Github Project: https://github.com/paulnguyen-mn/redux-photo-app 1. Setup ReactJS App via Create …
Github Project: https://github.com/paulnguyen-mn/redux-photo-app
npm i --save-dev node-sassnpm i --save react-router-domnpm i --save reactstrapsrc
|__ assets
| |__ images
| |__ styles (global styles)
|
|__ components (shared components)
|
|__ features
|__ Photo
|__ components
| |__ PhotoList
| |__ PhotoCard
| |__ PhotoForm
|
|__ pages
| |__ MainPage
| |__ AddEditPage
|__ photoSlice.js
|__ index.js// App.js
function App() {
return (
)
}function InputField(props) {
const {
field,
type, label, placeholder, disabled,
} = props;
const { name } = field;
return (
{label && {label}}
);
}RandomPhoto Props
RandomPhotoField
Formik
Yup
No open issues yet, or sync has not completed.