Skip to content

Tag: remix.run

How to manage the state in Remix?

I was going through Remix for quite a sometime but still not able to figure out state management. How to share the data between the components/routes? How to store the data which can be accessible by any component? And should be able to update the data from any child component. Answer First of all, remember t…

Remix useSubmit arbitrary data

I am trying to submit a form using Remix’s useSubmit hook. But I want to be able to pass arbitrary data along with my form submit data. I have form elements with some static values that have disabled/readonly attributes, which means their value will be null on form submission. However I have access to t…