2019-02-05 01:49:30 +08:00
|
|
|
// @flow
|
|
|
|
|
|
2019-02-28 05:05:43 +08:00
|
|
|
import React, { Fragment } from 'react';
|
2019-02-05 16:32:02 +08:00
|
|
|
import Contexts from './Contexts';
|
2019-02-05 17:23:14 +08:00
|
|
|
import CustomHooks from './CustomHooks';
|
2019-02-05 01:49:30 +08:00
|
|
|
import NestedProps from './NestedProps';
|
2019-02-05 17:23:14 +08:00
|
|
|
|
|
|
|
|
// TODO Add Immutable JS example
|
2019-02-05 01:49:30 +08:00
|
|
|
|
|
|
|
|
export default function InspectableElements() {
|
|
|
|
|
return (
|
2019-02-28 05:05:43 +08:00
|
|
|
<Fragment>
|
|
|
|
|
<h1>Inspectable elements</h1>
|
2019-02-05 01:49:30 +08:00
|
|
|
<NestedProps />
|
2019-02-05 16:32:02 +08:00
|
|
|
<Contexts />
|
2019-02-05 17:23:14 +08:00
|
|
|
<CustomHooks />
|
2019-02-28 05:05:43 +08:00
|
|
|
</Fragment>
|
2019-02-05 01:49:30 +08:00
|
|
|
);
|
|
|
|
|
}
|