1.0.37 • Published 4 years ago

@spring-mobility/client-utils v1.0.37

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Client Utils

This package hosts shared code between clients that use React.

Why is this separate from @spring-mobility/types?

react is required as a peerDependency of the package. That means any time this package is imported, react must be dependency.

We can't combine this package with @spring-mobility/types because we don't want to install react on code that is running in a Node environment.

Why is @spring-mobility/types a peer dependency?

This package uses SpringClient which is defined in @spring-mobility/types. SpringClient should be a singleton on the client that is configured via SpringClient.configureClient.

  • Could we move SpringClient -> client-utils? -- Ah no, because other Node clients use SpringClient, e.g. vatican...

TODOs

  • Rename this package from client-utils to react-utils
1.0.37

4 years ago

1.0.35

4 years ago

1.0.28

4 years ago

1.0.27

4 years ago

1.0.26

4 years ago

1.0.25

4 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.9

5 years ago

1.0.7

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago