Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<h1>Hello World!</h1>
);
const Foo = () => (
<h1>Hello Foo!</h1>
);
const App = () => (
);
export default render(, createContext({
reducers: {
foo: function (state, action) {
// console.log(state, action);
return Object.assign({}, state);
}
},
actionCreators: {
'/:foo': function (params, location) {
return function (dispatch) {
console.log(params, location);
};
}
}
}));