Check out example codes for "rails delete link". It will help you in understanding the concepts better.

Code Example 1

<%= link_to "Delete", person, method: :delete, data: { confirm: "Really?" } %>

Learn ReactJs, React Native from akashmittal.com