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
The authenticityToken must be sent to the backend in order to submit content. The problem is that, in many cases, this prop must be passed down the React components tree and is used just once, cluttering the code with it.
The
authenticityToken
must be sent to the backend in order to submit content. The problem is that, in many cases, this prop must be passed down the React components tree and is used just once, cluttering the code with it.A solution to avoid passing it down component by component is to use React context (https://reactjs.org/docs/context.html)
The text was updated successfully, but these errors were encountered: