You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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.
The text was updated successfully, but these errors were encountered: