How to use the formula-one.peekValue function in formula-one

To help you get started, we’ve selected a few formula-one examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github flexport / formula-one / example / src / App.tsx View on Github external
<section>
        {formData.friends.map((friend, i) =&gt; (
          <div>
            
            <button> {removeFriend(i)}}&gt;Remove Friend</button>
          </div>
        ))}
      </section>

      <button>Add Friend</button>

      Submit

      {JSON.stringify(peekValue(formData))}
    
  );
};

formula-one

Strongly-typed React form state management

MIT
Latest version published 2 years ago

Package Health Score

54 / 100
Full package analysis