Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Use a more idiomatic React outlet #1240

Merged
merged 1 commit into from
Oct 4, 2017

Conversation

jonathaningram
Copy link
Contributor

As seen in CRA-generated apps (https://github.com/facebookincubator/create-react-app) and most React apps.

Also, while it's not a bottleneck (and going into micro optimisation territory), I suspect that document.getElementById is much more performant than document.querySelector. Still, the idiomaticity is nice.

@jonathaningram jonathaningram force-pushed the ji-more-idiomatic-react-outlet branch from 7c4fb24 to f6f9aab Compare October 4, 2017 03:37
@el-mapache el-mapache merged commit e80c97c into cloud-gov:master Oct 4, 2017
@jonathaningram jonathaningram deleted the ji-more-idiomatic-react-outlet branch October 6, 2017 00:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants