Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const containerFunction = {
- getMeteorData: ( props , context ) => {
- console.log( 'context' , context );
- ...secret code...
- return {
- isReady ,
- timelineEvents
- };
- }
- };
- containerFunction.contextTypes = {
- currentDomain: PropTypes.string
- };
- export default NewsFeedTimelineContainer = withTracker( containerFunction )( NewsFeedTimeline );
Add Comment
Please, Sign In to add comment