Open source alternatives to tcomb-react
200 open source apps like tcomb-react, closest match first.
Top picks
- R

react-tinymce
Launchreact-tinymce is a React component that wraps the TinyMCE rich-text editor, so you can add a full editor to a React app with a component instead of wiring the editor up by hand. The README says the component depends on tinymce being availab
Open source
- R

react-toastify
LaunchReact-Toastify is a React library for adding notifications, called toasts, to an app. It is meant for developers who want to show short messages to users without building their own notification system. The README says it is easy to set up,
Open source
- R

react-document-title
LaunchReact Document Title is a small React component for setting document.title declaratively in a single-page app. You place a DocumentTitle element inside your components, and it sets the page title while it is mounted. It supports nesting, so
Open source
- R

react-body-classname
Launchreact-body-classname is a small React helper for setting the class name on the document body from inside your components. Instead of changing document.body by hand, you describe the classes declaratively, and components nested in your tree
Open source
- J

jsx-control-statements
LaunchJSX Control Statements is a Babel plugin that adds basic control statements to JSX: conditionals and loops, written as component-like tags. It transforms those tags into plain JavaScript, so a conditional tag becomes a ternary expression th
Open source
- U

uncontrollable
Launchuncontrollable is a small React helper for wrapping a controlled component so that chosen prop and handler pairs can be left uncontrolled by the people who use it. The idea is that you write a component with minimal state and let the wrappe
Open source
More like tcomb-react
About tcomb-react

tcomb-react
Type checking for React components
tcomb-react is a library for checking React component props with tcomb types, as an alternative to PropTypes. Its main default is that props are required, which the README calls a saner choice, since it is easy to forget isRequired. It also checks for unwanted additional props, so a component can reject props it does not declare, and you can turn that check off with the strict option set to false. The README describes a @props decorator for ES7 class components, and a propTypes function for stateless components and for React.createClass in ES5. Types can be a map of names to tcomb types, a tcomb struct or interface, or a refinement of one, and checks can be nested to any depth for finer control. The library can also extract documentation from components, with types and comments, through a parse function. A babel plugin lets you write propTypes as Flow type annotations. tcomb-react builds on the tcomb, tcomb-validation and tcomb-doc libraries. The README says it was tested with React 0.13, 0.14 and 15, and that other versions may work. It is aimed at React developers who want stricter prop checking than the default.
- Price
- Free
- Made by
- gcanti
- Category
- UI Libraries
- Website
- github.com/gcanti/tcomb-react

































