gajus / gajus/react-strict-prop-types

Possible shortcut for decorator syntax

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
28
Forks
2
PR merge metrics
No merged PRs in 30d

Description

I'm not sure if this will work, but it would make cutting out the functionality easier for those using ifdef-like parsers...

``` js
/* ifdef DEVELOPMENT */ @require('react-strict-prop-types')() /* endif */
class MyComponent extends React.Component {}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.