Skip to content

Commit

Permalink
Allow unmounting title tag
Browse files Browse the repository at this point in the history
cf. facebook#1376.

This is useful for SVG. Dynamically adding and removing `<title>` elements in SVG still won't work properly because of getMarkupWrap but this at least lets you include it in initial render and then unmount the entire `<svg>` without problems.
  • Loading branch information
sophiebits committed May 19, 2014
1 parent 66291d2 commit 4935d04
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/browser/ui/ReactDefaultInjection.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ function inject() {

html: createFullPageComponent(ReactDOM.html),
head: createFullPageComponent(ReactDOM.head),
title: createFullPageComponent(ReactDOM.title),
body: createFullPageComponent(ReactDOM.body)
});

Expand Down

0 comments on commit 4935d04

Please sign in to comment.