Rindo
A compiler for generating
Web Components
using technologies like TypeScript and JSX, built by the Family team.
Getting Started
Start a new project by following our quick Getting Started guide.
We would love to hear from you!
If you have any feedback or run into issues using Rindo, please file an issue on this repository.
Examples
A Rindo component looks a lot like a class-based React component, with the addition of TypeScript decorators:
import { Component, Prop, h } from '@rindo/core';
@Component({
tag: 'my-component',
styleUrl: 'my-component.css',
shadow: true,
})
export class MyComponent {
@Prop() first: string;
@Prop() last: string;
render() {
return (
<div>
Hello, my name is {this.first} {this.last}
</div>
);
}
}
The component above can be used like any other HTML element:
<my-component first="Rindo" last="JS"></my-component>
Since Rindo generates web components, they work in any major framework or with no framework at all.
In many cases, Rindo can be used as a drop in replacement for traditional frontend framework, though using it as such is certainly not required.
Contributing
Thanks for your interest in contributing!
Please take a moment to read up on our guidelines for contributing.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.