Skip to content

Instantly share code, notes, and snippets.

@Jpadilla1
Last active September 3, 2019 18:23
Show Gist options
  • Select an option

  • Save Jpadilla1/bbf5babc1fcdb53e7df6d9f4fae6a34d to your computer and use it in GitHub Desktop.

Select an option

Save Jpadilla1/bbf5babc1fcdb53e7df6d9f4fae6a34d to your computer and use it in GitHub Desktop.

Revisions

  1. Jpadilla1 revised this gist Sep 3, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion feedback.js
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    import { Machine } from '@xstate/react';
    import { useMachine } from '@xstate/react';

    import feedbackMachine from './feedbackMachine';

  2. Jpadilla1 revised this gist Sep 3, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion feedback.js
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    import { Machine } from '@xstate/react`;
    import { Machine } from '@xstate/react';

    import feedbackMachine from './feedbackMachine';

  3. Jpadilla1 created this gist Sep 3, 2019.
    9 changes: 9 additions & 0 deletions feedback.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    import { Machine } from '@xstate/react`;
    import feedbackMachine from './feedbackMachine';

    const Feedback = () => {
    const [current, send] = useMachine(feedbackMachine);

    return ...;
    };