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

@elliemae/pui-app-sdk

v5.17.0

Published

ICE MT UI Platform Application SDK

Downloads

4,386

Readme

SDK for React Web Applications

Software Development Kit / API for developing React Web applications. Implements cross cutting concerns as reusable APIs

Build: Build Status Deploy: Build Status Test: Build Status SecScan: Build Status

SonarQube Report

API Documentation

QA Environment

Major Version Changelog

v3 to v4

ChangeLog

v2 to v3

ChangeLog

v1 to v2

Following are the major breaking changes in v2

  • App React Dependencies upgraded to v2

  • React hook form has been upgraded from v6 to v7. If you are using forms, fields or control components from App SDK please regress the functionalities in your application after the upgrade. In case, if you are using watch, trigger, reset, setError, touched api of react-hook-form, in your app, there are breaking changes. Please read the guide here

  • Fully supports Typescript

  • Removal of following unused apis

    • loginService
  • Addition of following new apis

    • useAppDispatch
    • useAppSelector

Local Development Setup

  • npm run setup
  • npm run storybook

FAQ

  • What is the difference between the Form Controls in App SDK vs Dimsum ?

    App SDK uses Dimsum form controls and provided additional functionalities such as state management for individual fields and for the entire Form. Also it provides a framework to do field level & form level validation.

    App SDK uses React Hook Form open source library to achieve the above functionalities.

  • How do i use App SDK Form control and Form components ?

    Please see code examples

  • How do i do field validation during field blur event ?

    Please see code samples

  • How do i do field validation during form submit ?

    Please see code samples

  • How do i refresh API auth tokens when my session expires ?

    Subscribe to the Authorization failure callback and implement logic to refresh your API Auth token. Pass the authorization header back to sdk. SDK will resubmit the failed request with new token.

    Sample code snippet

    import { onAuthorizationFailure } from '@elliemae/pui-app-sdk';
    const refreshToken = () =>
      new Promise((resolve) => {
        //get your new token
        const authorizationHeader = 'xyz'; //store new header value;
        sessionStorage.setItem('Authorization', authorizationHeader);
        resolve(authorizationHeader);
      });
    onAuthorizationFailure(refreshToken);