
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@rettangoli/fe
Advanced tools
A modern frontend framework that uses YAML for view definitions, web components for composition, and Immer for state management. Build reactive applications with minimal complexity using just 3 types of files.
.view.yaml
, .store.js
, .handlers.js
files scale from single page to complex applicationsrtgl fe build # Build components
rtgl fe watch # Start dev server
Runtime:
Build & Development:
Browser Native:
rettangoli.config.yaml
file in your project rootbun install
# Scaffold a new component
node ../rettangoli-cli/cli.js fe scaffold --category components --name MyButton
# Build once
node ../rettangoli-cli/cli.js fe build
# Watch for changes (recommended)
node ../rettangoli-cli/cli.js fe watch
src/
├── cli/
│ ├── build.js # Build component bundles
│ ├── watch.js # Development server with hot reload
│ ├── scaffold.js # Component scaffolding
│ ├── examples.js # Generate examples for testing
│ └── blank/ # Component templates
├── createComponent.js # Component factory
├── createWebPatch.js # Virtual DOM patching
├── parser.js # YAML to JSON converter
├── common.js # Shared utilities
└── index.js # Main exports
Create a rettangoli.config.yaml
file in your project root:
fe:
dirs:
- "./src/components"
- "./src/pages"
setup: "setup.js"
outfile: "./dist/bundle.js"
examples:
outputDir: "./vt/specs/examples"
Use visual testing with rtgl vt
:
rtgl vt generate
rtgl vt report
For a complete working example, see the todos app in examples/example1/
.
FAQs
Frontend framework for building reactive web components
The npm package @rettangoli/fe receives a total of 73 weekly downloads. As such, @rettangoli/fe popularity was classified as not popular.
We found that @rettangoli/fe demonstrated a healthy version release cadence and project activity because the last version was released less than 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
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.