๐ฆFrontend SDKs
Website integrations can be made using NPM packages.
For managed website managed by Mยฒ, updates will be applied automatically to your site.
Updating dependencies
The example website has scripts for automatically update all Mยฒ NPM packages :
To update ALL packages (not just Mยฒ), you can run:
To update a specific package, or not use the latest version, manually update the relevant package version in the package.json
file and run npm install
.
Package list
Functionality is split across the following packages:
@improbable/m2-frontend-constants
- Constants used across all M2 frontend apps@improbable/m2-design-system
- A React UI library built on top of Material UI@improbable/m2-frontend-hooks
- A collection of React hooks used across all M2 frontend apps@improbable/m2-frontend-nextjs
- Services and components that allow for us to better integrate Next.js in our web apps@improbable/m2-frontend-presentation
- Default views and components for our web app@improbable/m2-frontend-services
- Functions related to services and browser/server side logging@improbable/m2-frontend-state-management
- Redux state used across our frontend repos@improbable/m2-frontend-testing-library
- Helper functions to create MSquares resources for testing@improbable/m2-frontend-types
- Types used across all M2 frontend apps
Last updated