Security News
NVD Backlog Tops 20,000 CVEs Awaiting Analysis as NIST Prepares System Updates
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Trixion is an ultra light modern web stack. its goal is to produce a very light bundle yet to support latest conventions.
** Trixion is still in beta stage - please use with care and submit any issue you encounter **
clone the trixion-starter project
and instead of any other dependency you may use (react, react-dom, redux, react-redux, react-router etc)
simply use trixion - its all in there. The whole thing weights ~15kb though (batteries included).
check out the examples
most of the functionality of react, redux, routing, hot-reload...
yet the only dependency is preact.
preact is baked in, so the only package you need is trixion.
Component based UI
state store
html5 routing
some built in helpers
lean modern polyfills
Here is a small table that shows the bundle sizes of common boilerplate
projects for component based + routing + global state store frontend.
All bundles were made with NODE_ENV=production
and -p
flag for webpack.
Project | stargazers | minified | min+gzip |
---|---|---|---|
react-redux-universal-hot-example | 5713 | 561.3kb | 170.3kb |
react-redux-starter-kit | 3864 | 103.8kb | 38.9kb |
react-slingshot | 3262 | 210.4kb | 59.3kb |
react-isomorphic-starterkit | 1874 | 229.4kb | 66.8kb |
28kb-react-redux-routing | 249 | 88kb | 25.9kb |
trixion | - | 56.8kb | 15kb |
well, you don't...
Most people doesn't seem to care what their bundle size is.
But if any of these apply to you, then know that this project was built for people like you:
Some features are not supported in trixion such as async store middlewares, state loggers,
redux related state players/manipulators and many more.
The reasons are:
if you've never heard of react/preact,
redux,
redux-react,
html5 routing
you are going to find it somewhat difficult to understand as trixion doesn't include the fundamental explanation.
Its recommended to read on each of the modules concepts and principles.
Here is a full list of the things that are exported from trixion (lots of them).
DOM
$
createElement
- alias of $
E
- alias of $
Component
createClass
render
findDOMNode
unmountComponentAtNode
h
preact
store
dispatch
- alias of store
addReducer
connect
- store connectorattachPersistence
attachSessionPersistence
Router
Link
navigate
go
back
app
- any-purpose global namespace for your usecl
- className helper. see examplesassign
- Object.assign like functionsetImmediate
clearImmediate
DEBUG
- true if process.env.NODE_ENV !== 'production'parseUri
- parse uri to pathname, search and hashContribution would be much appreciated.
Either by creating pull requests of opening issues.
FAQs
Ultra light weight web stack bundle
The npm package trixion receives a total of 0 weekly downloads. As such, trixion popularity was classified as not popular.
We found that trixion demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.