Todo App with React Native, Realm

Todo App with React Native, Realm

  • This post walks you through the process of creating a Todo App for iOS and Android devices with React Native, Realm.
  • We wrap some built-in Realm functions in – – React Native does not have CheckBox, so we make one.
  • : when checkbox’s clicked, the function of parent component ‘d be called.
  • : the function of parent component’d be called.
  • It shows Todo list.

onPress={this.props.onCheckBoxPressed}: when checkbox’s clicked, the onCheckBoxPressed function of parent component ‘d be called.
Continue reading “Todo App with React Native, Realm”

Functional Components with React stateless functions and Ramda – Medium

Functional Components with React stateless functions and #Ramda:  #JavaScript #ReactJS

  • Finally create a main.js file and start rendering!
  • The components must not retain internal state, do not have backing instances, and do not have the component lifecycle methods.
  • The first time I read about react stateless components I wondered if I could R.compose such functions.
  • For now the only explanation needed is that, since we are using stateless components that are pure functions to their props , state must be managed elsewhere.
  • The simplified component API is intended for components that are pure functions of their props.

What you need to know:
Continue reading “Functional Components with React stateless functions and Ramda – Medium”

MobX tutorial #1 – MobX + React is AWESOME

MobX tutorial #1 - MobX + React is AWESOME  #facebook #javascript #reactjs #webdev -

  • Currently i run a local http server in node that handles data API and saves / fetches data from Nedb database.
  • Great question: I would choose MobX by default these days, and the complexity of how I handled actions would depend on the complexity of the app.
  • If there were complex data, like a form with validation, data models, etc. then I’d handle actions as if it were Redux.
  • The tricky thing is redux/react won’t have any persistence layer built in. You’d probably still want Nedb or the like to persist the data, but then you could definitely wrap that in MobX or Redux for a better, more stable JS experience.
  • Topics Facebook JavaScript React Redux React.js Web Development

Read the full article, click here.


@CodeChannels: “MobX tutorial #1 – MobX + React is AWESOME #facebook #javascript #reactjs #webdev -”


MobX is AWESOME. It makes React.js programming fun and it…just…works. GET THE CODE: https://github.com/learncodeacademy/react-js-tutorials/tree/master/6


MobX tutorial #1 – MobX + React is AWESOME