Skip to content

International symbols in JSX #4267

@enaqx

Description

@enaqx

I've experimented with international symbols inside react component and it failed on simple example. Is it by design behaviour?

      var HelloWorld = React.createClass({
        render: function() {
          return (
            <p>
              的なことは, <input type="text" placeholder="Введите ваше имя" />!
              Время: {this.props.date.toTimeString()}
            </p>
          );
        }
      });

      setInterval(function() {
        React.render(
          <HelloWorld date={new Date()} />,
          document.getElementById('example')
        );
      }, 500);

And get

image

Despite that on JSFiddle it works like charm

I've tried this on OS X with sublime and webstorm. Both work like on image.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions