Skip to content
Projetos

daltonmenezes/electron-router-dom

Ver no GitHub

Sobre

🧬 A react-router-dom adapter for Electron apps

Desenvolvimento web e de aplicativos

Como estes números são medidos

O que você pode fazer

  • 🚀 Ready for production and development environments
  • 📱 Window routing support
  • 🌐 Support for query strings sent from the main process to the renderer
  • 🧬 Type-safe API designed to provide good DX

Crescimento medido de estrelas

em 24 h
0
em 7 dias
-1
em 15 dias
-3
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Electron Router DOM - A react-router-dom adapter for Electron apps

github url patreon url releases url license url

If you've ever tried using the react-router-dom library with Electron, you've probably had trouble getting it to work properly, both in development and production environments.

From this, the Electron Router DOM library was born, which aims to facilitate the integration of react-router-dom with Electron and window routing, where each window can have its own routing.

Features

  • 🚀 Ready for production and development environments
  • 📱 Window routing support
  • 🌐 Support for query strings sent from the main process to the renderer
  • 🧬 Type-safe API designed to provide good DX

Installation

Minimum required versions

  • electron: >=17.0
  • react: >=18.0
  • react-router-dom: >=6.22.3

In your terminal and in the root folder of your application, run:

npm i electron-router-dom

Router DOM is a peer dependency, if you haven't installed it yet or your package manager won't handle it automatically for you, so run:

npm i react-router-dom

Links

Contributing

Note: contributions are always welcome, but always ask first, — please — before work on a PR.

That said, there's a bunch of ways you can contribute to this project, like by:

  • :beetle: Reporting a bug
  • :page_facing_up: Improving documentation
  • :rotating_light: Sharing this project and recommending it to your friends
  • :dollar: Supporting this project on GitHub Sponsors or Patreon
  • :star2: Giving a star on this repository

License

MIT © Dalton Menezes

Explore projetos relacionados

Carregando…