Coder Social home page Coder Social logo

Comments (4)

lowkay avatar lowkay commented on April 20, 2024

Howdy,

I've been having a poke around the code and got a working implementation of this feature using react-router.

To get it to work nicely I did a bit of refactoring. I wasn't really initially intending on opening a PR so I changed more than just implementing the feature - such as renaming files to have a jsx extension and naming them CamelCase if they export a type rather than a module.

Anyhow, I plan on raising a PR in the next couple of days and we can discuss the changes. There may be choices that you don't agree with and I'm obviously open to changing things to fit in with the project style/outlook.

Just putting it out there in case somebody else is thinking about this feature.

from storybook.

arunoda avatar arunoda commented on April 20, 2024

I was also going to re-factor the UI code a bit using the Mantra architecture. But, feel free to send the PR directly.

from storybook.

arunoda avatar arunoda commented on April 20, 2024

Now this is implemented in the latest release: v1.20.0

from storybook.

arunoda avatar arunoda commented on April 20, 2024

If someone looking for how to use React Router <Links> in Storybook, check this: #485 (comment)

from storybook.

Related Issues (20)

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.