BI

Binding Linux X64 Gnu

@oxc-transform-react/binding-linux-x64-gnu

Oxc React Compiler Node API

Forms
compiler
javascript
jsx
oxc
react
transform
tsx
typescript
@oxc-transform-react/binding-linux-x64-gnu
Forms
Stars
23k
Weekly
1.6M
Open issues
1117
Bundle
~25 kB

Installation

npm install @oxc-transform-react/binding-linux-x64-gnu

Code example

import { useBindingLinuxX64Gnu } from "@oxc-transform-react/binding-linux-x64-gnu";

export function Example() {
  const form = useBindingLinuxX64Gnu({ defaultValues: { email: "" } });

  function onSubmit(event: React.FormEvent<HTMLFormElement>) {
    event.preventDefault();
    console.log(form);
  }

  return (
    <form onSubmit={onSubmit}>
      <input name="email" type="email" placeholder="you@example.com" />
      <button type="submit">Submit</button>
    </form>
  );
}

Pros & cons

Pros

  • Actively maintained by Boshen and oxc contributors
  • 1.6M weekly downloads. Battle tested
  • First-class TypeScript definitions
  • MIT licensed

Considerations

  • Adds roughly ~25 kB to your bundle
  • Needs client-only rendering in SSR frameworks
  • Not supported in React Native
  • 1117 open issues on GitHub

FAQs

Alternatives & similar libraries