The reactjs tag has no usage guidance.
0
votes
1answer
38 views
What is the approach for implementing FLUX in a CRUD application that pulls JSON data from the server?
While using FLUX in a CRUD application,
according to what I understood, initially the data is returned from an AJAX call and then stored in the STORE. So, all the data that is currently viewed is only ...
0
votes
1answer
55 views
Simple React application design
I have a very simple app that lets you log in and then displays a dashboard. The design process with React and Redux is very simple :
I have two React components : Login and Dashboard
I store a ...
-4
votes
1answer
90 views
URL links in Javascript frameworks
I am trying to sell to my client a javascript framework to replace a server generated website, but am having a hard time selling it because of URLs.
My client would like to be able to have copiable ...
3
votes
1answer
802 views
Redux memory consumption
The Redux framework favors immutable state/pure function paradigm, which promotes creation of new state from the previous state in terms of the current action. The applicability of this paradigm is ...
0
votes
1answer
92 views
If AngularJS already takes care of the MVC, would using ReactJS be needed if it is just the View part?
I heard that AngularJS is becoming quite popular, and at the same time ReactJS is also. But if AngularJS already takes care of MVC with 2 way binding between model and view, would ReactJS actually be ...
-1
votes
1answer
140 views
Why are the smart folks who write and adopt react.js okay with the way markup is tightly-coupled/buried inside Javascript?
Quite a while ago there was a concerted trend in the industry to move towards adopting templating to separate markup from logic, or something like that. The result was much more pleasing to the eye ...
1
vote
3answers
269 views
Why is JSX good, when JSP scriptlets are bad?
React.js provides JSX as an XHTML-like syntax for constructing a tree of components and elements. JSX compiles to Javascript, and instead of providing loops or conditionals in JSX proper, you use ...
8
votes
1answer
275 views
How will React 0.14's Stateless Components offer performance improvements without shouldComponentUpdate?
This question has been going round and round in my head since I read the release notes (and other related hype) around React 0.14 - I'm a big fan of React and I think that stateless components ...
0
votes
0answers
52 views
Implement FSM explicitly in re-frame/reagent/react?
I'm in the process of making a simple game using re-frame (and thus react and reagent), but I'm stuck at one point.
In
https://github.com/Day8/re-frame#control-via-fsm
they claim
Not every app ...
2
votes
2answers
58 views
Isormophic javascript, request processing
I was wondering why isomorphic JS, like using reactjs in both client and server side increase first page load ?
What is different from simple SPA applications ?
In both cases we are loading the full ...
3
votes
2answers
536 views
Understanding Flux pattern
I'm actually studying the flux pattern and there's something that I can't understand concerning the stores.
What are they exactly?
I have read many articles, and it seems that it concerns the ...
2
votes
0answers
86 views
Hot swapping files and metaprogramming with front-end JavaScript
I was inspired by a video on hotswapping JS files with React + Webpack for the web. I started trying it out with React + Backbone + RequireJS.
Seems to work, as long as I stick to the stateless parts ...
47
votes
7answers
5k views
What is the actual value of a consistent code style
I am part of a consultant team implementing a new solution for a customer. I am
responsible for the majority of code reviews on the client-side codebase (React and javascript).
I have noticed that ...