Basic component implementation through React.js