Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename components to Intl* #64

Closed
wants to merge 1 commit into from
Closed

Conversation

ericf
Copy link
Collaborator

@ericf ericf commented Jan 16, 2015

Fixes #60

@yahoocla
Copy link

CLA is valid!

@caridy
Copy link
Collaborator

caridy commented Jan 16, 2015

what about Format?, if we do Format instead of Intl, it will even facilitate the transition to FormatJS library in the future, isn't it?

@ericf
Copy link
Collaborator Author

ericf commented Jan 16, 2015

Yeah, honestly I'm on the fence about this. Since this is a component my initial thought is to use a noun-y name, whereas if it's a method then it would be a verb-y name. I will write up some more details on this decision and some other things I've been thinking as sort of an RFC.

ericf added a commit to ericf/react-intl that referenced this pull request Jan 21, 2015
This adds "Formatted" as a prefix to all React Intl Components.
See: formatjs#65 for discussion

Closes formatjs#64
Fixes formatjs#60
@ericf
Copy link
Collaborator Author

ericf commented Jan 21, 2015

Closing in favor of #67

@ericf ericf closed this Jan 21, 2015
@ericf ericf deleted the rename-components branch October 16, 2015 20:14
longlho pushed a commit that referenced this pull request Apr 27, 2020
This resolves an issue where the following, valid, JSX was causing
this plugin to throw an error:

```js
<FormattedMessage id={dynamicId} />
```

The above is now ignored by this plugin as there's no
`defaultMessage` to extract and it's assumed to be defined elsewhere.

Also, the ICU Message parse error is now exposed with this refactor.

Fixes #62
Fixes #63
Fixes #64
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.

Number/Date/Mixin components exposed as IntlNumber/IntlDate/IntlMixin
3 participants