5.4.0 • Published 8 years ago

skypager-client v5.4.0

Weekly downloads
72
License
SEE LICENSE IN Li...
Repository
github
Last release
8 years ago

Skypager Universal Client

The universal client will configure itself automatically based on a skypager project bundle which contains settings and copy configuration data. The universal client is designed to provide a consistent interface for react applications, whether they are react-dom or react-native or any other type of platform.

Usage

Creating an instance of the skypager-client is easiest when using an application bundle:

const client = require('skypager-client').create({
    bundle: require('./app-bundle.json')
  })

The client will attempt to automatically configure itself based on the contents of bundle.

Settings API

Overriding contents of the bundle settings, or supplying your own values can be done at creation time or by using the settings interface. In development, it is possible to treat the bundle as an observable object so that you can preview settings changes in a way that feels exactly like normal Hot Module Loading that is expected when working on react and react-native projects. Whether these settings changes occur as a result of actual code changes, or through changes to application state, the application runtime does not care.

This allows us to create an interface for changing the behavior or appearance of our application that integrates with tools such as our desktop app, or our live mobile sandbox preview application, or a number of other possible tools.

Copy API

The labels and strings -- aka copy -- of our application UI is delivered through an internationalization (i18n) framework that can be manipulated and persisted outside of the development environment. This allows for total control over surface content in a way that is not dependent on making changes to running code.

5.4.0

8 years ago

5.2.0

8 years ago

5.1.0

8 years ago

5.0.7

8 years ago

5.0.4

8 years ago

5.0.3

8 years ago

5.0.2

8 years ago

5.0.1

8 years ago

5.0.0

8 years ago

2.72.1

8 years ago

2.72.0

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago