splitforms.com

Bug Report · React

Bug Report for React

Bug reports with severity, environment, and reproduction steps. Free for 500 submissions total — no backend, no SDK, no plugin.

  • 500 free total
  • 5 fields ready
  • 60-second setup
Bug Report for React — copy-paste form code

Copy-paste code

Drop into any React project.

Replace YOUR_ACCESS_KEY with your splitforms key, paste into a React page, and ship. No build-time integration required.

Get free access key
Form.tsx
'use client';

import { useEffect, useState, type FormEvent } from 'react';

export default function BugForm() {
  const [status, setStatus] = useState<'idle' | 'sending' | 'sent' | 'error'>('idle');

  // splitforms tracker (drop-off analytics + partial leads), loaded once. It
  // finds the form by data-sf-key and adds a hidden sf_sid field to it.
  useEffect(() => {
    const src = 'https://splitforms.com/embed.js';
    if (document.querySelector(`script[src="${src}"]`)) return;
    const script = document.createElement('script');
    script.src = src;
    script.async = true;
    document.body.appendChild(script);
  }, []);

  async function onSubmit(e: FormEvent<HTMLFormElement>) {
    e.preventDefault();
    setStatus('sending');

    // Capture the form now: React clears e.currentTarget once the handler
    // yields at the first await, so calling e.currentTarget.reset() later throws.
    const form = e.currentTarget;
    const data = new FormData(form);
    data.set('access_key', 'YOUR_ACCESS_KEY');
    data.set('subject', 'New bug report');

    const res = await fetch('https://splitforms.com/api/submit', {
      method: 'POST',
      body: data,
      headers: { Accept: 'application/json' },
    });

    const json = await res.json();
    if (json.success && json.payment_url) {
      // Payment form: finish the payment on the secure Stripe page.
      window.location.href = json.payment_url;
      return;
    }
    setStatus(json.success ? 'sent' : 'error');
    if (json.success) form.reset();
  }

  if (status === 'sent') return <p>Thanks — we&rsquo;ll be in touch.</p>;

  return (
    <form data-sf-key="YOUR_ACCESS_KEY" onSubmit={onSubmit}>
      <label htmlFor="title">Short summary *</label>
      <input id="title" type="text" name="title" placeholder="What went wrong?" required />
      <label htmlFor="severity">Severity *</label>
      <select id="severity" name="severity" required>
        <option value="">Choose…</option>
        <option>Critical</option>
        <option>High</option>
        <option>Medium</option>
        <option>Low</option>
      </select>
      <label htmlFor="browser">Browser &amp; OS</label>
      <input id="browser" type="text" name="browser" placeholder="Chrome 120 / macOS" />
      <label htmlFor="steps">Steps to reproduce *</label>
      <textarea id="steps" name="steps" placeholder="1. Go to…
2. Click…
3. See error" required />
      <label htmlFor="email">Your email (so we can follow up) *</label>
      <input id="email" type="email" name="email" placeholder="[email protected]" required />

      <button type="submit" disabled={status === 'sending'}>
        {status === 'sending' ? 'Sending…' : 'Send'}
      </button>

      {status === 'error' && <p>Something went wrong. Try again.</p>}
    </form>
  );
}

React + Bug Report

Built for React developers who hate operating a backend.

React ships nothing for form delivery — it's a view layer. The historical options are an Express server you stand up just for POST /api/contact, a Vercel serverless function with SMTP wiring, or a third-party library like Formik that still leaves the backend problem unsolved. The bug report on this page uses useState for submit state and a plain fetch POST to splitforms — no form library, no context provider, no wrapper component. It works in Create React App, Vite, Remix, and every React bundler because it's just standard FormData and the Fetch API.

  • 500 form submissions total, free to start
  • Unlimited forms on every plan, including Free
  • Spam protection — honeypot plus a rule-based filter
splitforms as the form backend for React

Bug Report fields

What every field actually does.

The posted payload contains short summary, severity, browser & os, steps to reproduce, your email (so we can follow up). Required fields are short summary, severity, steps to reproduce and your email (so we can follow up). Rename, remove, or add your own — splitforms accepts any name you POST.

  • Short summary — Buyer-persona signal — IC vs decision-maker changes the follow-up cadence.
  • Severity — Triage signal — drives whether this pages on-call or waits till Monday.
  • Browser & OS — Repro context for engineering — saves a back-and-forth.
bug report fields in the splitforms dashboard

Template playbook

The reason this bug report exists.

Bug reports without reproduction steps waste hours of triage. The form structures the report — what happened, what was expected, steps to reproduce, browser / OS / device, screenshot. Screenshot upload is critical: 'the page broke' tells you nothing; a screenshot of the broken state tells you everything. Webhook the structured report into Linear or GitHub Issues so it lands as a triageable ticket, not a Slack message that scrolls away. For SaaS teams the time saved is huge — instead of a 4-message back-and-forth gathering basic context, the engineer opens the issue and starts debugging.

  • Structure the report
  • Screenshot upload
  • Webhook into Linear / GitHub
Bug Report playbook for React

Setup

Generate, embed, receive.

Three actions stand between you and your first bug report submission — no backend, no database, no CAPTCHA library.

Generate a free splitforms key

Sign in at splitforms.com — your access key is created instantly. No credit card, no setup wizard, no SDK to install.

Paste the bug report into your React project

Drop the form snippet into a React page, component, or layout. Replace YOUR_ACCESS_KEY with the key from your dashboard. The form action is a hard-coded URL — no env vars or build-time wiring needed.

Receive submissions

Dashboard updates live on Free. Free includes owner email delivery; paid plans add signed webhooks, CSV export, Slack/Discord forwarding, and BCC to your team.

How SplitForms works

What happens after someone submits your form?

splitforms receives the submission, filters spam, saves it to your dashboard and emails you — then, on paid plans, sends it on to your webhooks and integrations. No backend infrastructure to build.

A SplitForms contact form submission launching straight to your inbox

Add your endpoint

Point your form to your unique SplitForms endpoint. That's it.

HTML form pointing at a SplitForms submit endpoint

Receive submissions

We instantly capture and organize every submission in your inbox.

Submissions inbox with searchable leads and status pills

Route anywhere

Send data to email, spreadsheets, CRMs, webhooks, and 7,000+ apps.

Generic integration tiles for email, sheets, chat, CRM, automate, and webhook

No credit card required. Set up in under 60 seconds.

Connect & automate

Where can submissions go besides email?

On paid plans, submissions can also go to Slack, Discord, Google Sheets, Notion, Airtable, Zapier or any signed webhook — and splitforms works on the platforms you build on, from WordPress and Shopify to Next.js. With Stripe connected, your forms can take payments too.

Connect your SplitForms form to Slack, Google Sheets, Mailchimp, Zapier and more
NewTake payments on your formsDeposits, bookings, order forms — submitters check out through Stripe and the money goes straight to your Stripe account. Included on every paid plan.See plans →

Setup guides for the stacks you use

Common questions

Bug Report on React — answered.

View all FAQs
Does this bug report work on React?

Yes. The form is plain HTML with a single POST endpoint, so it runs on any React site without server-side code, plugins, or SDKs. Drop the snippet into a React page or component and submissions land in your splitforms dashboard.

How much does the bug report cost on React?

Free for 500 submissions — no credit card, no time limit. Pro is $5/mo for 5,000 submissions a month, and Annual is $49/year for 15,000 submissions a month. The same pricing applies regardless of which framework hosts the form.

Can I customize the fields?

Yes. The template ships with sensible defaults (short summary, severity, browser & os, steps to reproduce…) — add, remove, or rename any of them. Splitforms accepts whatever fields you POST.

How does spam protection work on the bug report?

A hidden honeypot field catches dumb bots, and a rule-based filter scores the rest; anything that looks like spam goes to a separate Spam tab instead of your inbox. No CAPTCHA, no friction for human users — and it works the same on React as on any other framework.

Can I send the bug report submissions to Slack or Discord?

Yes. Webhooks are available on paid plans, with auto-formatted payloads for Slack, Discord, and WhatsApp (via CallMeBot). Or send raw signed JSON to any URL — Zapier, n8n, your own server. Configure in the splitforms dashboard.

Will it work on a static React site?

Yes — the form posts directly to splitforms from the browser, so no server is involved. Works on Vercel, Netlify, GitHub Pages, Cloudflare Pages, S3, or any plain Apache host.

Should I auto-detect browser / OS?

Yes — JavaScript can read navigator.userAgent and pre-fill hidden fields with browser name, version, OS, and screen size. The user doesn't see them; the engineer gets them. Saves 90% of 'what browser are you on?' replies.

Can I integrate with Linear / GitHub / Sentry?

Yes — webhook the JSON. Linear and GitHub both accept inbound issue creation via API or Zapier. Sentry doesn't accept user-reported bugs as events but you can webhook to a Slack channel where the on-call engineer triages and creates the Sentry issue manually.

How do I prevent abuse / spam in bug reports?

Public bug-report forms attract spam — hidden honeypot plus splitforms' rule-based spam filter catches the automated spam. Require an email field; disposable and malformed addresses add to the spam score. For severe abuse, gate the form behind a logged-in user session.

Simple pricing

How much does splitforms cost?

Free gives you 500 submissions for $0 — no card, no time limit. Pro is $5/month for 5,000 submissions a month, and Annual is $49/year for 15,000 a month with every Pro feature.

Free

$0— 500 submissions
 

No card, no time limit

Best for testing

For side projects and indie devs.

  • 500 free submissions
  • Unlimited forms
  • Email notifications included
  • Smart spam filtering
  • Submissions dashboard
  • Redirect after submit
  • MCP server included

Annual

$49/ year
About $4.08/mo, billed yearly
Best value

Every Pro feature with triple the volume — $0.27 per 1,000 at full use.

  • 15,000 submissions / mo
  • Unlimited forms
  • Everything in Pro
  • File uploads with 5 GB storage
  • 3 team seats
  • Priority email support

No credit card required on Free • Cancel anytime • Full pricing and FAQ