Questions tagged [fluxible]

Fluxible is a pluggable, singleton-free container for isomorphic Flux applications.

Fluxible is a pluggable, singleton-free container for isomorphic Flux applications.

Chat

60 questions
1
vote
1 answer

React router get current route outside component

I am now using fluxible with react-router, I want to perform action and then redirect after the callback. In the action, the action context has no router and fail to change the route after the action. I have tried to find example but I can only…
Thomas Lee
  • 1,001
  • 2
  • 13
  • 31
1
vote
1 answer

How to adapt the standard react-notification-system example to a fluxible project

I'm trying to use this component https://github.com/igorprado/react-notification-system in a standard fluxible project and am looking for guidance on how to adapt the sample code into an es6 style class. Here's the original sample code: var React =…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
1
vote
1 answer

reactjs component rendering really slow for a list

I have component import React from 'react'; import {NavLink} from 'fluxible-router'; import SurahsStore from 'stores/SurahsStore'; import connectToStores from 'fluxible-addons-react/connectToStores'; import debug from 'utils/Debug'; import…
Mohamed El Mahallawy
  • 13,024
  • 13
  • 52
  • 84
1
vote
1 answer

How to enable stage 0 in webpack config to enable the decoratorPattern in a fluxible component

I tried following the directions for using a decorator pattern in a fluxible connectToStores example http://fluxible.io/addons/connectToStores.html @connectToStores([FooStore, BarStore], (context, props) => ({ foo:…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
1
vote
2 answers

Error trying to declare my fluxible react.js component in an es6 class

I'm getting this error trying to create my fluxible component with an es6 class declaration: Warning: getInitialState was defined on SearchResults, a plain JavaScript class. This is only supported for classes created using React.createClass. Did…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
1
vote
2 answers

"setState on undefined" this error trying to use es6 style react component in yahoo fluxible

EDIT: My mistake, my webpack hotloader was caching the old js for some reason every time I ran a build. Reset and rebuilt and it seems to be working now. I'm trying to create a simple searchbox using es6 style class declaration in a yahoo fluxible…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
1
vote
0 answers

How do I run fluxible template project in production?

New to webpack and fluxible, so I was trying to understand their getting started boilerplate: http://fluxible.io/quick-start.html Running npm run dev runs fine and starts the live-reload webserver, but I was confused on how to run it in production.…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
1
vote
2 answers

Fluxible router parameter a route

I m actually developping an application using Fuxible and Reactjs and I m facing a problem. In fact, I need to create a route in ./configs/routes.js that isn't in the top menu bar. I need this route to be accessible with parameters like :id . Here's…
mfrachet
  • 8,772
  • 17
  • 55
  • 110
1
vote
0 answers

Using Bootstrap with isomorphic reactjs

I m actually developping some little component with fluxible to understand a bit more isomorphic javascript and react components. However, I was wondering how can I use the standard twitter bootstrap on this kind of isomorphic app ? I dont really…
mfrachet
  • 8,772
  • 17
  • 55
  • 110
1
vote
1 answer

Reactjs getting event from store with fluxible

Hi I m actually trying to developp a little applications using flux, reactjs and fluxible and I m facing a problem when dealing with stores. In fact, I can send information to my store through actions, but I dont know how to receive the result of…
mfrachet
  • 8,772
  • 17
  • 55
  • 110
1
vote
2 answers

Error while trying to integrate React-DateRangePicker into React Project

Currently in the process of building a web app using ReactJs and the Fluxible architecture. While trying to integrate the React-daterangepicker module into my project, I have encountered the following error of which I cannot trace the origin.…
ferenan
  • 177
  • 3
  • 20
1
vote
1 answer

React flux interceptor implementation

Does react flux architecture have something similar to Angular's interceptor where you can redirect 401 errors to the login page?
Shih-Min Lee
  • 9,350
  • 7
  • 37
  • 67
1
vote
1 answer

Should we store "temporary" info in React/Fluxible stores for an isomorphic app?

At our studio, we're struggling with understanding good usages of stores in react/fluxible. Essentially, how do we store temporary information (like success and errors) required to proceed through UI flows without keeping that information around…
0
votes
1 answer

How to use this.executeAction("someAction") in function based Component?

I've a class based component in which I'm calling the redux store through a action. class App extends Component { //Calling Constructor & setting State & other things this.executeAction("someAction"); } I want to know what would be the alternate…
Booster
  • 145
  • 1
  • 1
  • 10
0
votes
1 answer

How do I get passed parameter id through fluxible router in my component?

I have the following route config. dynamicPost: { path: '/posts/:postId', method: 'get', page: 'Post', title: 'Post', handler: SinglePost } How do i get post id in my Component ?
Sourav Mukherjee
  • 299
  • 7
  • 13