Questions tagged [martyjs]

Marty.js is a flux.js implementation for use as part of a react.js workflow.

Marty.js is an implementation of the Flux architecture. It defines a set of rules about how to manage your applications state.

Marty provides solutions for getting state into your application, storing it in memory and then binding it to your React components.

8 questions
5
votes
1 answer

Why do we need a proxy on an express.js server in order to get webpack hot reloading server functionality combined with react-routing

Optional info: I'm trying to make this project built with marty.js and webpack dev server allow entry points from react-router so that it works in more than just the \ path. Thus, I'm studying THIS stack overflow answer all day long and I fail to…
SudoPlz
  • 20,996
  • 12
  • 82
  • 123
3
votes
1 answer

The "flux" way to handle action success/error in UI

Take the case of reseting a password. The user is presented with a form asking them to enter their email. They submit the form so that they'll be sent a reset link in an email. The submit triggers an action, the action makes a POST to…
Michael Willmott
  • 529
  • 1
  • 8
  • 21
1
vote
1 answer

onClick event doesn't fire in any of my components

Im playing with MartyJS, marty-express and react. and the following code: import React from "react"; import _ from "lodash"; export default class InputComponent extends React.Component { constructor(props, context) { super(props,…
DenLilleMand
  • 3,732
  • 5
  • 25
  • 34
0
votes
1 answer

Hello SO, i just changed a React with MartyJS flux from SSR to Client side rendering, having issues with react-router

So as the title describes im doing an app available on github at denlillemand/react. It has a express backend that just serves a simple html template that imports my bundle.js. And the app initially renders just fine, but none of the routes seem to…
DenLilleMand
  • 3,732
  • 5
  • 25
  • 34
0
votes
1 answer

marty.js ApplicationContainer and Rect Router 1.0.0 beta

I'm attempting to use Marty v0.10 and React Router v1.0.0. The example React Router provides doesn't seem to allow wrapping a handler in the application container. React Router says to use React.render as opposed to Router.run. The only example of…
anthonator
  • 4,915
  • 7
  • 36
  • 50
0
votes
1 answer

How to handle with stateful DOM elements with Flux

I'm working on building a React media player component that wraps an HTML5
Collin Allen
  • 4,449
  • 3
  • 37
  • 52
0
votes
2 answers

How to work with martyjs container?

I just started to work with martyjs and the problem I am facing is I cant render React component from marty component container. The Store seemed to work, but martyjs component container does not change after the Store changes. I need some guidance…
0
votes
3 answers

State null in component

I'm having an issue with creating a component using react and martyjs. I'm sure it is a typo or something but I just can't seem to find it. Although I have a state mixin in the component the state is not being populated and it doesn't look like…
stimms
  • 42,945
  • 30
  • 96
  • 149