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

Invalid character in shouldComponentUpdate method in generated component #2

Open
darth10 opened this issue Jan 28, 2016 · 0 comments
Open

Comments

@darth10
Copy link

darth10 commented Jan 28, 2016

An invalid character (Â) is generated after the shouldComponentUpdate function name in a newly generated component.

  /*
   * boolean shouldComponentUpdate(object nextProps, object nextState)
   * see: https://facebook.github.io/react/docs/component-specs.html#updating-shouldcomponentupdate
   */
  shouldComponentUpdate(nextProps, nextState) {
    // TODO signal if prop and state transition should trigger an update or not.
    // TLDR: a way to skip the diff algorithm and increase performance.
  },

This doesn't seem to be coming from the .ejs file either.
Any clue as to what is causing this?

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

No branches or pull requests

1 participant