score:5

Accepted answer
{
  "dependencies": {
    "mobx-react": "6.0.0-rc.4"
  }
}

score:4

import React from "react";
import { Observer } from "mobx-react";

const MobxFunctionalComponentObserver = props => (
  <Observer
    inject={stores => ({ ... })}
    render={props => (
      ... 
    )}
  />
);

Related Query

More Query from same tag