Reactjs.org: The prop value with an expression type of SequenceExpression could not be resolved. Please file issue to get this fixed immediately.

Created on 19 Jul 2020  路  10Comments  路  Source: reactjs/reactjs.org

I was just contributing to the docs a few minutes ago and after running

yarn check

got this warning
#### "The prop value with an expression type of SequenceExpression could not be resolved. Please file issue to get this fixed immediately." .
Thought I'd let you know.

good first issue

Most helpful comment

Did some research & if I understand correctly, the 2 dependencies using it are eslint-plugin-react & eslint-plugin-jsx-a11y.

eslint-plugin-react has a newer release tag (v7.21.4) that updated jsx-ast-utils to 3.0.0 & should fix this.

But for eslint-plugin-jsx-a11y, we have to wait for an active branch (v6.4.0) to be merged. Apparently it should be ready soon.

All 10 comments

Do you mean yarn lint?

I get this as well, seems to be an eslint issue. Do you want to upgrade our eslint version to see if it fixes it?

Screen Shot 2020-07-19 at 3 13 39 PM

I meant

yarn check-all

I tried upgrading eslint. No help!

jsx-eslint/jsx-ast-utils#101 was merged & should fix this.

@rrhg do you want to submit the PR to upgrade?

I can try. If someone could provide some guidance that would be great. Thanks.

@rrhg first step would be to figure out which dependency is using it and get that package to publish an upgraded version with the fix, then upgrade the version we use.

Did some research & if I understand correctly, the 2 dependencies using it are eslint-plugin-react & eslint-plugin-jsx-a11y.

eslint-plugin-react has a newer release tag (v7.21.4) that updated jsx-ast-utils to 3.0.0 & should fix this.

But for eslint-plugin-jsx-a11y, we have to wait for an active branch (v6.4.0) to be merged. Apparently it should be ready soon.

Thanks for looking into it @rrhg!

Please update this thread if this already fixed. thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gaearon picture gaearon  路  6Comments

dstudzinski picture dstudzinski  路  3Comments

VinayakBagaria picture VinayakBagaria  路  3Comments

franciscop-invast picture franciscop-invast  路  6Comments

chochihim picture chochihim  路  3Comments