This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| render() { | |
| const { | |
| prevChild, | |
| curChild, | |
| childPosition, | |
| animationCallback, | |
| } = this.state; | |
| return ( | |
| <Slider |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from "react"; | |
| import { animateSwitch } from "./animateSwitch"; | |
| import { SlideOut } from "./SlideOut"; | |
| const SwitchWithSlide = animateSwitch(Switch, SlideOut); | |
| export default () => ( | |
| <SwitchWithSlide> | |
| <Route path="/a" component={PageA} /> | |
| <Route path="/b" component={PageB} /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const ForceCaseSensitivityPlugin = require("force-case-sensitivity-webpack-plugin"); | |
| const ManifestPlugin = require("webpack-manifest-plugin"); | |
| const SpeedMeasurePlugin = require("speed-measure-webpack-plugin"); | |
| const smp = new SpeedMeasurePlugin(); | |
| module.exports = smp.wrap({ | |
| entry: { | |
| app: ["./app.js"] | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const ForceCaseSensitivityPlugin = require("force-case-sensitivity-webpack-plugin"); | |
| const ManifestPlugin = require("webpack-manifest-plugin"); | |
| module.exports = { | |
| entry: { | |
| app: ["./app.js"] | |
| }, | |
| output: "./public", | |
| module: { | |
| rules: [ |
NewerOlder