Giter Site home page Giter Site logo

Comments (4)

bencompton avatar bencompton commented on May 21, 2024

Hello there! It is sort of supported at the moment, but does have some known issues. If you enable the pushState option on the Framework7App component, the URL will change as you navigate. Depending on your use case, the known issues may or may not affect you. See the "Push State" props section here http://framework7.io/docs/init-app.html for all of the options for configuring push state, and see here if you're not familiar with the Framework7App app component: http://framework7.io/react/init-app.html.

If you look through the issues in Framework7 Vue, you'll see the open issues about the router / pushState I am referring to. Since Framework7 React is built on top of Framework7 Vue, these same issues also exist in F7 React. Getting the History API working correctly is a pretty high priority for both versions of the framework. I intend to get around to looking into these soon, but can't exactly promise any time-frames.

from framework7-template-react.

anuragnagarkota avatar anuragnagarkota commented on May 21, 2024

Hey Ben

Thanks a lot. It worked in the way that I wanted exactly. Kudos to you to make our favourite UI(f-7) framework work with our favourite view library(React).

I encountered the following error when I click on back button of navbar-
framework7-vue.js:2958 Uncaught TypeError: this.$delete is not a function
at vueComponentClass.onPageBeforeRemove (framework7-vue.js:2958)
at HTMLDivElement. (PropsProcessor.js:139)
at Dom7.trigger (Framework7.js:9878)
at window.Framework7.module.exports.Framework7.app.pageRemoveCallback (Framework7.js:1329)
at Object.app.router.afterBack (Framework7.js:2687)
at afterAnimation (Framework7.js:2260)
at Framework7.js:2293
at HTMLDivElement.fireCallBack (Framework7.js:9905)

Please let me know can this be removed?

from framework7-template-react.

bencompton avatar bencompton commented on May 21, 2024

Turns out this template wasn't using the latest version. If you update framework7-react in your package.json to version 0.8.5-beta.6, the issue will be fixed.

from framework7-template-react.

anuragnagarkota avatar anuragnagarkota commented on May 21, 2024

Thanks Ben! It worked.

from framework7-template-react.

Related Issues (17)

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.