How to use the formula-one.arrayUtils 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
const App = () => {
  const formData = useF1(initialForm);
  const [addFriend, removeFriend] = arrayUtils(formData.friends, '');


  return (

        {, i) =&gt; (
            <button> {removeFriend(i)}}&gt;Remove Friend</button>


Strongly-typed React form state management

Latest version published 1 year ago

Package Health Score

58 / 100
Full package analysis