How to import Node
(type used by flow), and PureComponent
in one line only for code purity.
Lines below don't work:
import type { Node }, { PureComponent } from 'react';
// or
import type { Node, PureComponent } from 'react';
Note: I actually use this
/* @flow */
import { PureComponent } from 'react';
import type { Node } from 'react';
Thanks in advance