reactjs-flux Questions
7
Solved
Is it possible to pass an object via Link component in react-router?
Something like:
<Link to='home' params={{myObj: obj}}> Click </Link>
In the same way as I would pass props from th...
Nicollenicolson asked 1/7, 2015 at 17:32
8
Solved
While creating a component in Reactjs with input fields error occurs
Error: Parse Error: Line 47: Expected corresponding JSX closing tag for input at http://localhost/chat-react/src/script.js:47:20...
Potential asked 15/6, 2015 at 18:45
6
Solved
I am using React + Flux. Our team is planning to move from flux to redux. Redux is very confusing for me coming from flux world. In flux control flow is simple from Components -> actions -> Store a...
Association asked 15/7, 2016 at 22:0
18
Solved
Here is my form and the onClick method. I would like to execute this method when the Enter button of keyboard is pressed. How ?
N.B: No jquery is appreciated.
comment: function (e) {
e.preventDefa...
Regression asked 19/10, 2015 at 10:4
12
I am new to ReactJS and UI and I wanted to know how to make a simple REST based POST call from ReactJS code.
If there is any example present it would be really helpful.
Seligmann asked 21/7, 2016 at 17:24
7
Solved
Here is the code in actions.js
export function exportRecordToExcel(record) {
return ({fetch}) => ({
type: EXPORT_RECORD_TO_EXCEL,
payload: {
promise: fetch('/records/export', {
credentials:...
Abaft asked 4/2, 2016 at 16:38
13
Solved
I'm coming from the angular world where I could extract logic to a service/factory and consume them in my controllers.
I'm trying to understand how can I achieve the same in a React application.
...
Bonsai asked 7/3, 2016 at 22:53
10
Solved
I use axios for ajax requests and reactJS + flux for render UI. In my app there is third side timeline (reactJS component). Timeline can be managed by mouse's scroll. App sends ajax request for the...
Hessian asked 12/7, 2016 at 12:40
4
Solved
Tools: Reactjs 0.14.0 Vanilla Flux
I need unique identifiers for 2 reasons:
Child Reconciliation
Keeping track of what child was clicked
So let's say I have a list of messages that looks like thi...
Christeenchristel asked 11/11, 2015 at 23:4
2
Solved
I have web API that provides stores files as a stream of bytes. The response is already fetched and saved in the state but now I want to download the file from my react application onClick of a but...
Depress asked 14/8, 2017 at 10:55
8
Solved
I wanted to build a Facebook login into my react/react-router/flux application.
I have a listener registered on the login event and would like to redirect the user to '/dashboard' if they are logge...
Baden asked 12/4, 2015 at 21:12
4
Below code is not working and returning 403 forbidden but the same url giving the correct response postman tool.
fetch('https://example.com/', {
method: 'POST',
headers: {'Content-Type': 'appli...
Alarice asked 8/8, 2017 at 19:4
6
Solved
I have static image in my react-native app accessing via
<Image source={require("../assets/[email protected]")} />
in development it is showing well but in production release APK is ...
Siena asked 14/8, 2016 at 10:44
1
I am trying to implement a Flux Util container on the following React component:
class App extends React.Component<{},AppState> {
constructor(props:Readonly<{}>){
super(props);
}
...
Insipience asked 15/6, 2019 at 7:53
6
Solved
I’m using redux and I’m not sure about how to organize my components, I think the best is to keep them in folders with the name of the main component as the name of the folder and all inner compone...
Hanover asked 17/9, 2015 at 15:29
2
Solved
I am wondering how folks using Redux are approaching their backend persistence. Particularly, are you storing the "actions" in a database or are you only storing the last known state of the applica...
Reincarnate asked 5/10, 2015 at 13:28
7
Solved
I just recently discovered Redux. It all looks good. Are there any downsides, gotcha or compromises of using Redux over Flux? Thanks
Navada asked 15/8, 2015 at 5:12
8
Solved
I've read this answer, reducing boilerplate, looked at few GitHub examples and even tried redux a little bit (todo apps).
As I understand, official redux doc motivations provide pros com...
Delastre asked 8/9, 2015 at 15:5
2
I have a listview where i want to show image on each row and I don't want to show whole 25 images at once. I just wanted to load image which come in viewport.
I am getting url in props
<Imag...
Lina asked 3/8, 2016 at 5:23
4
Solved
I can only see the actual app under /public.
The configs in webpack.config.js are below:
var path = require('path');
var webpack = require('webpack');
module.exports = {
entry: [
'webpack-d...
Underhung asked 28/10, 2015 at 3:40
3
We have a react application with Flux architecture, I am searching any good library for sending http request like angular's $http, $resources.
Misshapen asked 20/11, 2015 at 7:22
6
One of the biggest advantages of React.js is supposed to be server-side rendering. The problem is that the key function React.renderComponentToString() is synchronous which makes it impossible to l...
Deprave asked 22/9, 2014 at 20:58
4
In the last week, I’ve been trying to make sense how two-way data binding (Angular) and one-way data flow (React/Flux) are different. They say that one-way data flow is more powerful and easier to ...
Bently asked 2/1, 2016 at 11:51
2
Solved
I have created a login page using reactjs, when I send my user input/password through a post method rest api call to authenticate I am receiving an error. Can somebody help me on whats going wrong ...
Mummer asked 25/8, 2016 at 19:43
3
Solved
We have recently switched over to React + Flux from Angular to build a rather complex business application.
Taking the approach of having one container component that passes all state as propertie...
Reveal asked 10/3, 2015 at 7:35
1 Next >
© 2022 - 2024 — McMap. All rights reserved.