React and Flux in Production Best Practices — Medium

#ReactJS and Flux in production best practices:

  • If not, then we walk the component hierarchy, up to the Smart component and eventually to the Smart component’s state .
  • Smart components in our pattern use setState() and return Dumb components from the render() function by using the state property.
  • Smart components are named so because they’re the components permitted to talk to Stores and Action Creators in our Flux pattern.
  • Container components render little real DOM; they mainly return one or more Smart components in their render() function.
  • Dumb components are where we render the majority of our DOM and define CSS for a component.

Read the full article, click here.


@ReactiveConf: “#ReactJS and Flux in production best practices:”


It’s Alex again, back to talk about the tips and best practices we’ve learned in Delve over the past ~18 months of shipping React and Flux…


React and Flux in Production Best Practices — Medium

React Native with MobX — Getting Started — Medium

Get started with #ReactJS Native with MobX:

  • Our App component will have access to the store as props.
  • Let’s create the App component.
  • Now that we have a store created, let’s to into the index file of the app and change the entry point to use the store and add create the navigation.
  • Create an observable array called list
  • The app will have two main components, one that will allow us to create new lists and one that will allow us to add new items to our list.

Read the full article, click here.


@ReactiveConf: “Get started with #ReactJS Native with MobX:”


Here, we will combine MobX and React Native to create a simple list app. If you’re looking to see how to get started with MobX and React…


React Native with MobX — Getting Started — Medium

How to use Immutable.js Records with React and Redux — Azendoo Team — Medium

How to use Immutable.js Records with #ReactJS and Redux

  • We can create a container to present our data and connect it to our application state.
  • export a clear type for each model;
  • As we continue to improve our app, we struggled with the lack of consistency in our models, even if they were immutable.
  • If we mess up with the TaskListItem component, a clear message will pop up in our console.

Read the full article, click here.


@ReactiveConf: “How to use Immutable.js Records with #ReactJS and Redux”


It’s the small things that change your product. React and Flux can be small things, but using them has changed our product like we could…


How to use Immutable.js Records with React and Redux — Azendoo Team — Medium

Thinking in React

Thinking in @reactjs with a bunch of @jsfiddle examples –

  • Use the props to filter the rows in ProductTable and set the values of the form fields in SearchBar .
  • Step 1: Break the UI into a component hierarchy #
  • Find a common owner component (a single component above all the components that need the state in the hierarchy).
  • If you’re familiar with the concept of state , don’t use state at all to build this static version.
  • If you can’t find a component where it makes sense to own the state, create a new component simply for holding the state and add it somewhere in the hierarchy above the common owner component.

Read the full article, click here.


@oskar: “Thinking in @reactjs with a bunch of @jsfiddle examples –”


React is, in my opinion, the premier way to build big, fast Web apps with JavaScript. It has scaled very well for us at Facebook and Instagram.


Thinking in React