AlexsLemonade / refinebio-web

Refinebio Web
https://staging.web.refine.bio
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Clean up the custom event handler props from the components #165

Closed nozomione closed 1 year ago

nozomione commented 1 year ago

Priority: low

Context

We currently pass the props object to the components for handling DOM events. But it's not required, since we can use React.js's built-in inline event handler props instead.

Problem or idea

We should replace the custom event handler props with React.js's built-in event handler props.

Solution or next step

(*due to frequent PR merges, the most recent PR's feature branch will be used as the base branch to reduce merge conflicts)