Skip to content

Instantly share code, notes, and snippets.

@ndesmic
ndesmic / ReactAlert.js
Last active December 1, 2017 22:40 — forked from jfbrennan/ReactAlert.js
Alert UI component rebuilt to compare Riot vs Slim vs Polymer vs Vue vs React and more
import React from "react";
import ReactDOM from "react-dom";
class Alert extends React.Component {
constructor(props){
super();
this.state = {
dismissed : false,
transitionRef : null
};