Questions tagged [flow-router]

Questions for the meteor package FlowRouter

Tag questions for this meteor package: https://github.com/meteorhacks/flow-router#subscription-management

244 questions
7
votes
1 answer

What is the use of lazy loading in Meteor?

I have the following application structure: client/ ---- main.js imports/ ---- startup/ -------- client/ ------------ routes.js ---- ui/ -------- login/ ------------ login.html ------------ login.js -------- register/ ------------…
chaudharyp
  • 3,394
  • 3
  • 26
  • 42
7
votes
1 answer

What are the benefits of using react-router over kadira:flow-router for meteor

I am new to meteor and react. I have been searching for the best practices for developing my voting-based project with meteor and react. One of the problems I tried to find on internet is pros and cons of using one of two options for router in…
FurkanO
  • 7,100
  • 5
  • 25
  • 36
5
votes
2 answers

How to add page transitions to React without using the router?

I tried to add page transitions to my app using ReactCSSTransitionGroup but it did not work. For some pages it worked but for some it did not. Many examples out there show how to do it with the React router. But since I use Meteor, I use a different…
THpubs
  • 7,804
  • 16
  • 68
  • 143
5
votes
1 answer

How to use Meteor with Jade, Flow Router and Blaze?

I'm trying to make Jade work with Meteor's Flow Router and Blaze. Somehow it doesn't work for me. I'm pretty sure it's just something small that I don't notice. HTML versions of home.jade and layout.jade files give a proper, working…
ddarkowski
  • 338
  • 1
  • 9
4
votes
1 answer

Template won't be rendered in Meteor FlowRouter

I need your help to figure out what's wrong with my code. I have a HomeLayout devided to 3 sections; header side main I have a conversation list ; it will be rendered in the main section and it contain a subsection called One_Conversation : when…
Ilyes Atoui
  • 474
  • 2
  • 9
  • 29
4
votes
4 answers

Iron Router vs Flow Router

I am asking this question because I am a bit confused. I just started to discover meteor ( better late then never ) and I am reading/hearing a lot of discussions why I should use Flow-router instead of Iron router. I started my project with Iron…
TheBilTheory
  • 408
  • 2
  • 12
4
votes
2 answers

React with FlowRouter: How to show/hide component based on route

I have a Meteor application that I'm developing using React and I do my routing using FlowRouter. My main AppContainer for the project has a bunch of components, one of them being the footer. class AppContainer extends Component { render() { …
Barry Michael Doyle
  • 9,333
  • 30
  • 83
  • 143
4
votes
3 answers

Passing a function down multiple children components in React using ES6

I have a LayoutComponent, PageComponent, and SingleComponent. When my user clicks a button, I want to display a message to the user on a NewPageComponent that my application routes to using Meteor's FlowRouter. To do this, I am storing the message…
bgmaster
  • 2,313
  • 4
  • 28
  • 41
4
votes
1 answer

How to use Meteor FlowRouter.reload()

I've found the FlowRouter documentation for FlowRouter.reload(), but I've been unable to find specific code examples and can't get it working. In my app, I have a template that uses some clever javascript (Isotope) to reposition elements as the page…
Deborah
  • 4,316
  • 8
  • 31
  • 45
4
votes
1 answer

Meteor Routing Error : There is no route for the path: /

I have updated Meteor to Meteor 1.3.2.4. and facing the issue. I have also updated all the packages in their latest version. Error : There is no route for the path: / I tried the both in both environment "meteor" and "meteor run --production" the…
Manoj Kumar
  • 477
  • 2
  • 8
  • 24
3
votes
1 answer

How do I use FlowRouter.go to trigger the URL to be reloaded

I'm playing around with Pagination using React/Meteor. By passing a limit parameter in the URL I can define the number of results that should be displayed. FlowRouter.route('/books/:_booksLimit?', { action() { mount(Es6MainLayout, { …
ElJefeJames
  • 295
  • 3
  • 16
3
votes
0 answers

FlowRouter no longer working after Meteor + React deployment using Mupx

I have a Meteor + React app that works fine locally. I've tested using the --production flag and there are no issues. Once I use mupx to deploy to my server, the deployment is successful but when I go to the deployed app it throws "There is no…
Dylan Pearson
  • 201
  • 4
  • 12
3
votes
1 answer

meteor flow-router placement/security

i have a question regarding flow router on meteor. in the new project structure for meteor, all files are suggested to be kept in the "imports folder" and be imported to either the server folder or client folder. in the tutorials i have seen that…
Carpet4
  • 578
  • 1
  • 8
  • 17
3
votes
2 answers

Meteor throws error "Exception in defer callback: Error: Can't call non-function: [object Object]" when using flowrouter

I am new to meteor and following a video tutorial. The problem is that this video tutorial doesn't uses ES6 fully. So no imports and exports. But I am making my meteor app using es6 features, specially imports and exports of modules. So my project…
Vineet 'DEVIN' Dev
  • 1,183
  • 1
  • 10
  • 35
3
votes
3 answers

A good way to define default rendering templates in FlowRouter

When migrating to a new Meteor project which was replacing Iron-Router with Flow-Router, I really missed the functionality of Iron-Router to define default behaviours and settings that were usable globally. I understand Flow-Router uses the "group"…
robertdavid
  • 393
  • 4
  • 15
1
2 3
16 17