npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@lardy/core

v0.5.1

Published

Lardy React Composer

Downloads

15

Readme

volvo-react-composer

Installation

To install volvo-react-composer into your project you need to have authenticated yourself to the fbinhouse gemfury repository.

If you've never had access to the repository, ask one of the admins (e.g. @phil, @mike, @max-bolotin) for access.

Once you have access, authenticate once by running:

npm login –registry=“https://npm.fury.io/fbinhouse/” –scope=@fbinhouse

You can now install the package:

npm i -S @fbinhouse/volvo-react-composer

What is it?

  • A (reasonably) opinionated React component composer
  • Based on MobX
  • Enforces separation of business and presentation logic
  • Functional component composition, without the scaffolding
  • Handles dependency injection
  • Supports powerful 3rd party middlewares

...but most of all...

  • A great way to start a new VCC-UI or DMS component project

What does it do (so far)?

  • Declaration of strongly typed props and state
  • Dependency injection
  • Static and runtime type checking of props
  • Whatever it's middlewares wants it to, for example:
    • Stackable transformations for styling/animations of HTML elements
    • Responsivity tracking
    • Reacting to element rects
    • etc ...

What does it spare me from doing?

Again, this depends a bit on what middlewares you are opting in to use, but:

  • Figuring out how to handle CSS in your pipeline
  • Tracking component/application and window-level responsivity
  • Ensuring that your component library is consumable by other applications and component libraries in the VCS/VCC or DMS spheres
  • Taking responsibility for the separation of business and presentation logic
  • Juggling composition of multiple higher order components and decorators while maintaining a strongly typed set of inputs

Great! How do I use it?

Start by checking out the Quick start!