description |
---|
SpringType's powerful but concise API. |
The frameworks core package wraps up implementations for basic architectural needs:
- Globals
st
Implements thest
and$st
global framework API. - Language Support
lang
Helpful shortcut functions likeisPrimitive()
. - Logging
log
Log usingst.info(...)
,st.warn(...)
andst.error(...)
. - Change Detection
cd
Proxy based object change detector, exposed asst.onChange(...)
. - Dependency Injection
di
Class-property based DI, exposes:@inject(...)
and@injectable(...)
. - Global Context Management
context
Change Detection based global contexts, exposes@context(...)
,initContext(...)
andgetContext(...)
. - Internationalization
i18n
Allows for easy JSON-file based translations. Exposes:@translation(...)
,@formatter(...)
,st.t(...)
.
These API's are available in all execution contexts, say Server (Node.js) and Web (browsers).
Web 🌐
This package contains all implementations necessary for modern web development:
- Component
component
- Virtual DOM renderer
vdom
- Client-side, DOM Router
router
Bundler 📦
Finally, to transpile and bundle everything that belongs to a SpringType project, st-start
was written. It comes with a customizable API, a CLI, live reload DevServer and creates high performance production builds.
{% hint style="info" %} Are you missing something? Propose an API here: 💬🤓 {% endhint %}