News for hackers. Stuff that matters.
Re:Angular 2 Final Released by woah on Thursday September 15, 2016 @07:14AM (#12505004)
How would you do something like this with stateless components? (Where the component is just a function that takes props)
Re:Angular 2 Final Released by cwmoo740 on Thursday September 15, 2016 @09:27AM (#12505916)
interface IMyComponentProps { x: number; }

function MyComponent(props: IMyComponentProps): JSX.Element { return <p>{props.x}</p>; }