Safe Framework (React 15 / Material-UI 0.x era)

0.0.45 · abandoned · verified Tue Apr 21

The `safe-framework` package, currently at version `0.0.45`, is a JavaScript framework built on a foundational stack from the React 15.x and Material-UI 0.x era. Its core functionality likely revolves around providing UI components and utilities, integrating with older versions of `material-ui` for Google's Material Design principles and `react-leaflet` for map-based interfaces. Key peer dependencies like `react@^15.4.0` (released November 2016), `material-ui@^0.16.5`, and the now-deprecated `react-tap-event-plugin` (deprecated as of React 16.4) firmly place this framework in a significantly older ecosystem. Given its `0.0.x` version and reliance on unmaintained dependencies, this project is considered abandoned, with no ongoing development, bug fixes, or security updates. It is distinct from other projects sharing the 'safe framework' name, such as those related to supply chain security or AI agent frameworks.

Common errors

Warnings

Install

Imports

Quickstart

This quickstart demonstrates a minimal React 15 application using Material-UI v0.x components, illustrating the environment `safe-framework` operated within. It includes the mandatory `injectTapEventPlugin` for older Material-UI versions.

import React from 'react';
import ReactDOM from 'react-dom';
import injectTapEventPlugin from 'react-tap-event-plugin';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import { Card, CardText } from 'material-ui/Card';
import RaisedButton from 'material-ui/RaisedButton';

// Required for Material-UI v0.x touch events
injectTapEventPlugin();

const App = () => (
  <MuiThemeProvider muiTheme={getMuiTheme()}>
    <div style={{ padding: 20 }}>
      <h1>Welcome to Safe Framework (Legacy Demo)</h1>
      <Card>
        <CardText>
          This is a demonstration of a basic component setup using
          the `safe-framework`'s underlying Material-UI v0.x dependencies.
          This example uses React {React.version} and Material-UI {process.env.MATERIAL_UI_VERSION ?? '0.x'}.
        </CardText>
      </Card>
      <RaisedButton label="Click Me" primary={true} style={{ marginTop: 20 }} />
      <p style={{ marginTop: 20, fontSize: '0.8em', color: '#666' }}>
        Note: This framework is built on very old dependencies and is not maintained.
        Modern React and Material-UI versions are incompatible with this setup.
      </p>
    </div>
  </MuiThemeProvider>
);

ReactDOM.render(
  <App />,
  document.getElementById('root')
);

view raw JSON →