Open threepointone opened 7 years ago
just an idea.
// @ratpack { render: true } export default <div>hello world</div>
variant
// @ratpack { render: true } export default function App(){ // or a class, whatevs return <div>hello world</div> }
or you could choose a component to render
// @ratpack { render: 'MyComp' } export class MyComp extends React.Component { render() { return <div>hello world</div> } }
just an idea.
variant
or you could choose a component to render