Skip to content

Instantly share code, notes, and snippets.

@AleBL
AleBL / semantic-commit-messages.md
Created September 14, 2020 12:14 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

Using Key Prop with Fragments

import React from "react";
export default function App() {
  return (
    <div className="App">
      {[1, 2, 3].map(a => (
        <React.Fragment key={a}>{a}</React.Fragment>
      ))}