Skip to content

Instantly share code, notes, and snippets.

View ProAnastasia's full-sized avatar

Anastasia ProAnastasia

  • Amsterdam
View GitHub Profile
@verticalgrain
verticalgrain / app.js
Last active April 26, 2022 15:37
React Router V4 Redirect after form submission
import React, { Component } from 'react'
import { Redirect } from 'react-router'
export default class ContactForm extends Component {
constructor () {
super();
this.state = {
fireRedirect: false
}
}