DEV Community

Aaron K Saunders
Aaron K Saunders

Posted on

6 1

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

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay