Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Conversation

@katspaugh
Copy link
Member

@katspaugh katspaugh commented Apr 9, 2021

Some unwanted properties were passed down from React to DOM elements.
Fixed by renaming the props with a $ prefix to make them Transient.

How to test

  • Run the storybook locally
  • Open the Accordion
  • Open the Button component

They should work like before and no warnings should be logged in the console.

I've also tested this version of safe-react-components with the safe-react locally, and it also doesn't show the warnings anymore ✅

Fixes #104 and fixes #105

@katspaugh katspaugh requested a review from fernandomg April 9, 2021 15:32
@github-actions
Copy link

github-actions bot commented Apr 9, 2021

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

@ghost
Copy link

ghost commented Apr 9, 2021

Travis automatic deployment:
https://pr115--safereactcomponents.review.gnosisdev.com

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Received true for a non-boolean attribute compact React does not recognize the localProps prop on a DOM element

3 participants