Skip to content

Instantly share code, notes, and snippets.

<?php
$config = array(
'url'=>'https:/yoursite.com/api/tickets.json',
'key'=> $_POST['apiKey']
);
$data = array(
'name' => $_POST['name'],
'email' => $_POST['email'],
'subject' => $_POST['subject'],
module.exports = React.createClass({
render: function(){
return React.createElement(
Router,
{history: browserHistory},
React.createElement(Route, {
path: window.location.pathname,
component: Login
}),
React.createElement(Route, {