Skip to content

Remove FluentType.isTypeOf#108

Merged
stasm merged 1 commit intoprojectfluent:masterfrom
stasm:remove-isTypeOf
Dec 12, 2017
Merged

Remove FluentType.isTypeOf#108
stasm merged 1 commit intoprojectfluent:masterfrom
stasm:remove-isTypeOf

Conversation

@stasm
Copy link
Copy Markdown
Contributor

@stasm stasm commented Dec 12, 2017

fluent-react's markup overlays (#101) removed the dependency on fluent's FluentType which was hardcoded as an import from fluent/compat. Without this dependency all imports from fluent are in the hands of developers again and they can decide to use the ES2015+ or the compat builds as they wish. As long as they do it consistently, regular instanceof checks will work well.

fluent-react's markup overlays (projectfluent#101) removed the dependency on fluent's
FluentType which was hardcoded as an import from fluent/compat. Without
this dependency all imports from fluent are in the hands of developers
again and they can decide to use the ES2015+ or the compat builds as
they wish. As long as they do it consistently, regular instanceof checks
will work well.
@stasm stasm requested a review from zbraniecki December 12, 2017 19:33
@stasm stasm merged commit f722d99 into projectfluent:master Dec 12, 2017
@stasm stasm deleted the remove-isTypeOf branch December 12, 2017 19:40
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.

2 participants