A set of tiny, composable React components for handling state with render props. It does this using a small render-prop-based API that exposes helpful transforms like toggle, increment, filter, etc. depending on the type of value, all based on JavaScripts native value types...
react components state-management render-props headless boolean component date map mobx number prop props redux render renderless set state stateful string type types value valuesCustom React PropType validators that we use at Airbnb. Use of airbnb-js-shims or the equivalent is recommended.Since PropTypes are typically not included in production builds of React, this library’s functionality serves no useful purpose. As such, when the NODE_ENV environment variable is "production", instead of exporting the implementations of all these prop types, we export mock functions - in other words, something that ensures that no exceptions are thrown, but does no validation. When environment variables are inlined (via a browserify transform or webpack plugin), then tools like webpack or uglify are able to determine that only the mocks will be imported - and can avoid including the entire implementations in the final bundle that is sent to the browser. This allows for a much smaller ultimate file size, and faster in-browser performance, without sacrificing the benefits of PropTypes themselves.
react proptypes airbnb prop types validator validationFor use with React PropTypes. Will error on any prop not explicitly specified.
react proptypes airbnb prop types validator validation exactpluck a property out of an object.Perhaps you're already using Lo-Dash, Underscore.js, or another utility library. This should not supplement those libraries, and definitely cannot replace. This is better suited towards applications that don't want to carry the weight and/or functionality of such libraries, and just want something simple and modular.
prop property pluckProxies are objects for which the programmer has to define the semantics in JavaScript. The default object semantics are implemented in the JavaScript engine, often written in lower-level languages like C++. Proxies let the programmer define most of the behavior of an object in JavaScript. They are said to provide a meta-programming API.
object obj property properties prop get getter access proxy proxies es2015Useful when the value of a property is expensive to generate, so you want to delay the computation until the property is needed. For example, improving startup performance by deferring nonessential operations.Object to add property to.
lazy property properties prop define object obj value lazily laziness val evaluation eval execute getter function fn memoize cache defer deferredShapeshifter is a command line tool for generating ECMAScript (ES) compatible files that export PropTypes, Flow aliases, and TypeScript interfaces, as well as relation schema classes from JS, JSON or GraphQL schematic files. Schematics can represent database tables, API endpoints, data structures, resources, internal shapes, and more.
shape shapeshifter graphql flowtype react typescript schema schematic ecmascript react-prop-types entity generate prop prop-types flow type alias definitions interface struct shift shifter transpileUse property paths like 'a.b.c' to get a nested value from an object. Even works when keys have dots in them (no other dot-prop library can do this!). Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.
dot-notation object paths key value get dot-prop object-path deep-property get-deep deep nested lodash path prop properties property props segment valuesRecursively merge values in a javascript object. Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
merge objects recursive properties values assign extend mixin deep jonschlinkert node nodejs clone clone-deep copy deep-clone deep-merge key keys merge-deep object prop property props valueDeeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.
mixin merge extend assign utility object recursive deep key keys prop properties util valuesMixin the own and inherited properties of other objects onto the first object. Pass an empty object as the first arg to shallow clone. Follow this project's author, Jon Schlinkert, for updates on this project and others.
assign copy extend key merge mixin object objects prop properties property shallow util valueCreate nested values and any intermediaries using dot notation ('a.b.c') paths. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.
dot-prop dot-notation set get value object path nested val node object-path getobject deep-property lodash set-deep bury deep-get-set deep-object deep-set deep-set-in deephas dot2val es5-dot-prop getsetdeep has hasown key keys lodash.set notation object-path-set object-set prop properties property props set-deep-prop set-nested-prop setvalue valuesFast and powerful array sorting. Sort an array of objects by one or more properties. Any number of nested properties or custom comparison functions may be used. If custom functions are supplied, array elements are sorted according to the return value of the compare function. See the docs for Array.sort() for more details.
array sort nodejs compare jonschlinkert arr asc ascend ascending desc descend descending dot element elements get multiple nested obj object order ordered path prop properties property sorted sortingDeeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target (first) object. Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
enumerable-properties assign object extend copy deep key keys merge mixin prop properties valuesUtils for working with JavaScript classes and prototype methods. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.
prototype-property descriptor prototype-methods class object utility array assign copy ctor define delegate extend extends inherit inheritance merge method prop properties property prototype util utils
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.