vasille-router
v5.0.0
Published
The framework designed to build bulletproof frontends (router library).
Maintainers
Readme
Steel Frame

SteelFrameKit is a front-end development kit, which is developed to provide bulletproof frontends.
Table of content
Installation
npm install steel-frame --saveHow to use SteelFramekit
Create an app from a template
$ npm create steel-frameFull documentation:
Examples
How SAFE is SteelFrameKit
The safe of your application is ensured by
100%coverage of code by unit tests. Each function, each branch is working as designed.- OOP, DRY, KISS and SOLID principles are applied.
strong typingmakes your javascript/typescript code safe as C++ code. All entities ofSteelFrameKitcore library are strongly typed, including:- data fields & properties.
- computed properties (function parameters and result).
- methods.
- events (defined handlers & event emit).
- DOM events & DOM operation (attributing, styling, etc.).
- slots of components.
- references to children.
- No asynchronous code, when the line of code is executed, the DOM and reactive things are already synced.
How INTUITIVE is SteelFrameKit
There is the "Hello World":
import { compose, mount } from "steel-frame";
const App = compose(() => {
<p>Hello world</p>;
});
mount(document.body, App, {});How POWERFUL is SteelFrameKit
All of these are supported:
- Components.
- Reactive values (observables).
- Inline computed values.
- Multiline computed values.
- HTML & SVG tags.
- Component custom slots.
- 2-way data binding in components.
- Logic block (if, else).
- Loops (array, map, set).
- Dependency injection.
Road map
- [x] Update the
corelibrary to version 3.0. - [x]
100%Test Coverage for core Library v3. - [x] Develop the
JSXlibrary. - [x]
100%Test Coverage for the JSX library. - [x] Develop the
Babel Plugin. - [x]
100%Test Coverage fot babel plugin. - [x] Add CSS support (define styles in components).
- [x] Add router.
- [x] Add SSG (static site generation).
- [ ] Develop tools extension for debugging (WIP).
- [ ] Add SSR (server side rendering).
Change log
5.0.0
Add support for context and dependencies injection.
4.3.0
Add new function safe which make functions safe, errors are reported automatically.
4.2.0
Add support for inlined conditions in JSX, binary && and ternary ?: operator.
4.1.0
Added SSG (static site generation) as build option sf build static.
4.0.0
Initial version of the framework with file based routing and building scripts (sf dev and sf build spa).
Questions
If you have questions, feel free to contact the maintainer of the project:
