JSPM

solid-logic

3.0.9-3867c40
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1392
  • Score
    100M100P100Q115010F
  • License MIT

Core business logic of SolidOS

Package Exports

  • solid-logic
  • solid-logic/dist/solid-logic.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (solid-logic) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

solid-logic

[Solid logo]

MIT license

Core business logic of SolidOS which can be used for any webapp as well.

How to use

Either npm install solid-logic or in your HTML use directly solid-logic.js from dist folder.

How to develop

Check the scripts in the package.json for build, watch, lint and test.

Used stack

  • TypeScript + Babel
  • Jest
  • ESLint
  • Rollup

History

Solid-logic was a move to separate business logic from UI functionality so that people using different UI frameworks could use logic code.

It was created when the "chat with me" feature was built. We needed to share logic between chat-pane and profile-pane (which was part of solid-panes back then I think) due to that feature. The whole idea of it is to separate core solid logic from UI components, to make logic reusable, e.g. by other UI libraries or even non web apps like CLI tools etc.