recks
Search…
Install

Zero setup

You can try the framework right now in the Online Playground

Easy setup

You can start a new project with a template repo:
1
git clone https://github.com/recksjs/recks-starter-project.git
2
cd recks-starter-project
3
npm i
4
npm start
Copied!
It's a webpack-based setup with latest Recks and RxJS.

Custom setup

To setup the project yourself, you'll need to install packages
1
npm i recks rxjs
Copied!
NOTE: To properly handle the JSX elements you need to set up pragma to use Recks name. See Babel docs for details.
Then to mount framework in your index.js
1
import Recks from 'recks';
2
3
Recks.render(
4
Recks.createElement(App), // root component
5
document.getElementById('root') // mounting element
6
);
7
8
function App() {
9
return <h1>Hello world!</h1>
10
}
Copied!
Please, refer to template project sources for details.
Last modified 1yr ago