Giter Club home page Giter Club logo

Comments (6)

JeremySaks avatar JeremySaks commented on June 26, 2024

Similar situation here - I was forced to remove this package entirely as it renders the app inoperable. Even removing trackPageView: true did not help. Templates failed to render and hooks did not run.

from meteor-iron-router-ga.

reywood avatar reywood commented on June 26, 2024

Just released a new version that might fix your issues.

from meteor-iron-router-ga.

JeremySaks avatar JeremySaks commented on June 26, 2024

Unfortunately I didn't have any luck after updating.

I don't know much about the package internals, but if it is any help for debugging, I have a fairly standard configuration where I have one custom controller defined with RouteController.extend({}) that runs an onRun and onBeforeAction, each of which runs this.next(); after performing some logic. I then have onRun and onBeforeAction defined on each route, also with this.next(); defined.

It seems as if none of these hooks are being run, as the templates are not rendering and the logic is not being performed. The same result occurs whether I add Router.configure({trackPageView: true}); or comment it out.

I wonder if this.next(); being called by the package is causing it to skip some or all of the controller and/or route functions.

from meteor-iron-router-ga.

reywood avatar reywood commented on June 26, 2024

If you could put together a minimal project that recreates the problem, that would be very helpful. Since I'm not seeing the problem in my projects, I'd just be taking shots in the dark otherwise.

from meteor-iron-router-ga.

frozeman avatar frozeman commented on June 26, 2024

actually onRun doesn't seem to fire at all in iron router i filed an issue here: iron-meteor/iron-router#1097

from meteor-iron-router-ga.

reywood avatar reywood commented on June 26, 2024

I'm going to assume the underlying problem was resolved and close this. Re-open if issue persists.

from meteor-iron-router-ga.

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.