question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support es6 symbols in proptype

See original GitHub issue

Would you be open to support es6 symbols in proptype?

At the moment I’m testing them as typeof Symbol() === 'symbol' in custom proptype functions.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
gaearoncommented, Apr 14, 2016

We’re still ironing out how we’ll move on with cutting branches on 15.x but once it’s decided I expect this to get in.

2reactions
sophiebitscommented, May 17, 2016

Looks like #6377 was merged. Should be in 15.1 or 15.2.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Symbol - JavaScript - MDN Web Docs
Chrome Edge Symbol Full support. Chrome38. Toggle history Full support. Edge12. footnote... @@toPrimitive Full support. Chrome47. Toggle history Full support. Edge15. Toggle... Symbol() constructor Full support....
Read more >
7. Symbols - Exploring JS
In ES6, you can use symbols and be sure that they are always unique: ... String.prototype.contains clashed with a method added by MooTools...
Read more >
The Ultimate Guide to JavaScript Symbol
ES6 provides predefined symbols which are called well-known symbols. The well-known symbols represent the common behaviors in JavaScript. Each well-known symbol ...
Read more >
A practical guide to ES6 Symbol - codeburst
Originally meant to introduce private properties to ES6, Symbols offer an approach to metaprogramming in Javascript that provides extension ...
Read more >
Metaprogramming in ES6: Symbols and why they're awesome
Symbols are all about Reflection within implementation - you sprinkle them on your existing classes and objects to change the behaviour. Reflect ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found