GithubHelp home page GithubHelp logo

Comments (3)

micros123 avatar micros123 commented on June 11, 2024 1

Hi Leonardo,
I'm trying to switch a big project over from React-Router v4 to Router5. So far I'm using switch, but may try the utils once I get my head wrapped around Router5 more.
My most important request would be: Please create a basic example project. A ToDo App or something even simpler, and apply all best practices. Maybe two alternative versions using different design patterns. That would make understanding Router5 with your MobX/React integration so much easier to follow than just docs.

from react-mobx-router5.

LeonardoGentile avatar LeonardoGentile commented on June 11, 2024

@micros123 thanks for your feedback

Why are moving away from React-Router v4? Wondering if others have the same reasons :]

Have you checked https://github.com/LeonardoGentile/react-mobx-router5-example? Surely it's not a complex and in-depth example, I've been planning something more serious for a while, I just need some time

from react-mobx-router5.

micros123 avatar micros123 commented on June 11, 2024

Two main reasons:

  1. Making API calls based on route changes requires a lot of custom code.
  2. The bad handling of transitions. I tried AnimatedSwitch. But I still sometimes see two states at the same time, then one disappears, making the page very jumpy.

I'll have a look at your example.

from react-mobx-router5.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.