Skip to content

Conversation

artokun
Copy link
Contributor

@artokun artokun commented Sep 6, 2017

No description provided.

@artokun
Copy link
Contributor Author

artokun commented Sep 6, 2017

Fixes:
#79
#104
#105
#113

@jlgeering
Copy link

fixes #120

@thomasmarr
Copy link

This PR seems to reverse the fix for isomorphic apps in dist/lib/GoogleApi.js. There are a couple of other places that need fixes to permit serverside rendering that I have come across too.

@jaysanatez
Copy link

Is this going to be merged soon? I'd love to clean up my console.

src/index.js Outdated
@@ -143,7 +143,7 @@ export class Map extends React.Component {
zoom: this.props.zoom,
maxZoom: this.props.maxZoom,
minZoom: this.props.maxZoom,
clickableIcons: this.props.clickableIcons,
clickableIcons: this.props.clickableIcons || false,
Copy link

@jaysanatez jaysanatez Oct 20, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's probably simpler to change it to !!this.props.clickableIcons. The !! syntax coerces truthy/falsy values (null, 0, 1, a valid object) into boolean type true/false values, so they will match the expected type bool - i.e. null and 0 become false, 1 or {...} becomes true

@artokun
Copy link
Contributor Author

artokun commented Oct 20, 2017

Updated thanks @jaysanatez

@auser auser merged commit f626c20 into fullstackreact:master Oct 31, 2017
@leup
Copy link
Contributor

leup commented Nov 27, 2017

This PR has reverted the fix in ./src/index.js for issue #110 from PR #128. Fortunately it does not affect the ./dist/index.js file

f626c20#diff-1fdf421c05c1140f6d71444ea2b27638R145

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants