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

allow explicitly picking which props to render in React components #2600

Open
KoolADE85 opened this issue Jul 13, 2023 · 0 comments
Open

allow explicitly picking which props to render in React components #2600

KoolADE85 opened this issue Jul 13, 2023 · 0 comments
Labels
feature something new P3 backlog

Comments

@KoolADE85
Copy link
Contributor

Throughout our React components, we use ramda.omit to filter out props that we wish to exclude from being rendered.
We should invert this by using ramda.pick to include the props that we do wish to render.

This will prevent us from accidentally sending props to be rendered in HTML.

@gvwilson gvwilson self-assigned this Jul 25, 2024
@gvwilson gvwilson removed their assignment Aug 2, 2024
@gvwilson gvwilson added P3 backlog feature something new labels Aug 13, 2024
@gvwilson gvwilson changed the title [Feature Request] Explicitly pick which props to render in React components allow explicitly picking which props to render in React components Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P3 backlog
Projects
None yet
Development

No branches or pull requests

2 participants