Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
June 14, 2022 05:29 pm GMT

Working With Remix-Router In React JS - A Look at New Data APIs in DataBrowserRouter

This is based on BETA software... but it is still awesome to see what's coming!!

A simple react application showing how to use the new DataBrowserRouter Data APIs to get Remix functionality in your React applications. There are no useRefs, no change events for the form data... its excellent, it just works.

This application also shows an approach for getting input in a modal and submitting it to a route's action function. I have added Ionic Framework as my user interface component, but what is shown here can work with any React application

The React Router v6.4 introduces all of the data abstractions from Remix for React Router SPAs. Now you can keep your UI and your data in sync with the URL automatically.

More Information


Original Link: https://dev.to/aaronksaunders/working-with-remix-router-in-react-js-a-look-at-new-data-apis-in-databrowserrouter-1b0l

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To