Displaying 1 to 7 from 7 results

react-extras - Useful components and utilities for working with React

  •    Javascript

Note that this package targets modern browsers. It's up to you to transpile if you need to support older browsers.Automatically binds your React.Component subclass methods to the instance. See the autoBind.react() docs.

react-router-util - Useful components and utilities for working with React Router

  •    Javascript

A history singleton that you can use in <Router history={history}> to access the history from outside the router. Can be useful for programmatically navigating to a route when used in combination with non-React code, like Electron IPC events, etc.Same as the official <BrowserRouter>, but with history={history} set to the above history singleton, so you can just import the singleton to access the router history object from outside the router.

villa - 🏡 Villa is a set of promise utilities for async-await-ready environment.

  •    TypeScript

Villa is a set of promise utilities for async-await-ready environment. Promises have been widely used in JavaScript, and there are quite a few fully featured promise libraries like bluebird and Q. But with the growing adoption of async/await provided by ES-next (via transpilers like TypeScript and Babel), some critical features provided by those libraries become less relevant.

jsonplus - JSON parser that supports self reference and comments

  •    Javascript

jsonplus uses JSON.parse internally so there shouldn't be any performance impact. We only go through JSON object once to find the reference strings and replace them with actual values. The impact is minimal considering the gained value. If your JSON is a first level array you can use paths like this {{ [0].first }} or if you think it's more readable, {{ @self[0].first }} works as well.




tsutils - utility functions for working with typescript's AST

  •    TypeScript

This package consists of two major parts: utilities and typeguard functions. By importing the project you will get both of them. If you don't need everything offered by this package, you can select what should be imported. The parts that are not imported are never read from disk and may save some startup time and reduce memory consumtion.