Reactjs-flux Questions
Ad
How to communicate between react service and a component?
I had created a util .js file that calling rest api's, and i need to communicate between this util (not a component) and other components.
Error after updating react: TypeError: Cannot call a class constructor without |new|
Node version: v10.15.3 i'm working on a project. everything worked fine, but after someone did npm install the following error is
Sharing store change event between same hierarchical level child components
I am developing a simple react js application for learning purpose. i just started learning react js a few days ago. now, i am having a problem
In Flux architecture, how do you manage analytics tracking?
Let's say i'm building a single page application like airbnb. one thing that would be good in such application is to track when someone creates an
How do I use Jest to test a React view wired to store?
I have a react view that communicates with a store. i've successfully tested views and stores separately, but
Test a React Component function with Jest
Original first of all, i am following the flux architecture. i
How do I run some config before every Jest test run
I'm writing tests for a react application which makes use of fluxxor to provide an event dispatcher. making that work requires telling jest not to
ReactJS - waiting for action to finish within componentDidMount
Code in question is below. i have an async useractions call within componentdidmount, and immediately afterwards i am
Three questions about Store in Flux
Following the flux concepts we can get
ReactJS Flux Utils components
There is interesting article which describes 4 main
Ad
setState is not updating the state by the time the Flux Store action is called
I have 2 components. a project container and a project setting panel (there will be more project setting panels later on). i have a switch
Flux Dispatch.dispatch(...): Cannot dispatch in the middle of a dispatch
My code https://gist.github.com/butuzgol/707d1605f63eef55e4af so when
Passing a Redux Action to a child component with props
I am trying to set a video in my app as "featured" when a user clicks on an item. i have an action creator that does a simple console.log() when
React-Redux - Reuseable Container/Connector
I am completely lost on the react-redux container (ie connector) concept as it is not doing what i anticipated. my issue is straight forward, and
Javascript fetch API in react-flux
I am studying the flux-react-router-example by @dan abramov, i
ReactJS Flux: detect store data change between components (not parent and child relationship)
I have two components; menu and info. i need to share the data between the two components. i'm using facebook flux pattern. the store class has a
In ReactJS + Flux share a save button with many tabs
I have an strucure in a reactcomponent like class mycomponent extends react.component { render() { return (
React - Accessing updated values from nested components
I have a table with rows and each cell within a row can be edited. there is a button associated with each row that will submit all the cells in
Flux data flow (app with react/flux)
I'm facing a problem could anybody help, i'm coding a flux/react app, and i have a form where i have some input that should update dinamicaly.
ReactJS + Flux: How to pass data attribute from HTML?
I'm using reactjs(flux) and laravel framework. i need to pass a variable from blade template to react components. i'm trying to use data-x
Why do we need Flux with React?
I don't understand why we need flux with react as react itself let's us maintain the state of the application. every component has an initial
Ad
React - how can I get updated data to show in my table?
I need to be able to update the values in my table rows and then have those new values show in the cells. how would i go about doing this?
Having services in React application
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
React - why is this component not rendering anything?
I am trying to render some child components in a parent component but nothing is rendering. i'm not getting any console errors but there is no
React - mapping data to rows that are formed during a map function
I have a component called cells which renders with data that is gotten from a flux store. my problem is that i want to render this data to a
React CRUD operations always using state
I am building a react app using altjs as my flux implementation. when i try to create/delete an item from the front end, no matter what i pass as
React - require some aid with saving data to a table
I have a table with dynamically generated column headers and rows, a user can enter in data to the rows and when they click save the data should
React - differentiating between dynamically generated inputs on a form
I have an input form for data in a table that generates inputs in accordance to how many columns there are. i am struggling to separate the inputs
How to persist data or state across child components in react.js?
Okay, i am seeking out the best way to persist data across child components. as per my knowledge, to communicate between a parent and a child, i
Flux without Actions and Dispatcher?
I was starting to use flux, i checked redux and facebook flux. the idea is very nice but i felt some boilerplate code there with lots of
React - appending an empty row to a table
I am currently building an application that renders a table but in the first instance the only thing that renders are the column headers. what i
How to manage communication between to independent react components?
I would like to implement a web application similar to messenger.com, also based on react framework. my problem is to manage the communication
Ad
Alt or Redux? Which flux implementation will suit a WYSIWYG react app?
After doing much research i found out that redux and alt are two really popular flux implementations. i also found that alt is more of
React/Flux store doesn't change it's state
From 2 weeks ago i'm facing a problem in my react/flux app. it's done in es6 and using webpack and babel. it actually doesn't go inside
ReactJS - store.getState() undefined
I am getting data from an external api using the altjs implementation of flux. the api call works fine from the action, is returned back to the
ReactJS - Showing some elements and a button to show more
I'm using react, with the flux architecture. in a certain part of my app, i need to show some elements (let's say, 6) and, if there's
Does React.js have a basic Flux implementation?
I am new to react.js and i am enjoying it a lot. i came across the flux architecture while reading the react.js documentation. i understand that
ReactJS + Flux + PHP Sample?
I'm looking for an example that uses reactjs+php (client-server side) which make uses at the same time of the architecture flux? any
How to download fetch response in react as file
Here is the code in actions.js export function exportrecordtoexcel(record) { return ({fetch}) => ({
How to properly pass immutablejs object in flux
I am using react+flux in an application. i am trying to use immutable js to speed up the rendering process as everytime i make any small change to
react flux actions and store class dependecies
As far as i understand react-flux architecture, flux
When I should use a store in ReactJs
I have some questions about the store in reactjs/flux implementation. basically, i have all my api request which use store. but
Is it bad practice to duplicate data across different flux stores?
Say you want each feature to have it's own store for modularity, but multiple features may need the same data x. is it bad practice to hold x in
Ad
Console logging "this" returns "null"
I am trying to create a flux store for a react app i am building. i am using an object-assign polyfill npm package and facebook's flux library.
'this' undefined in Reflux.createStore()
I'm trying to set state properties via this in my reflux store, but whenever i attempt to set a property i get the following error: uncaught
How in immutable js i can each in map method?
How: let type = [ "categories", "people", "organization"]; let tab = filtercache.map((name) => type.each((i) =>
React + Webpack: Where to configure REST Endpoints
I have a react+flux app and using webpack. the rest api i am consuming is served by a different server and i am trying to figure out where i could specify the backend
ComponentWillMount trigger not stop?
Firstly i'm newbie on react and this is my first project. i'm creating a basically blog app, my app class like below: var app = react.createclass({
Dispatch isn't called when I use bindActionCreators
I'm able to get an input to update my redux store onchange if i explicitly write out the dispatch function. why does it stop working when i try to use
Update redux state with an input
How can i update redux's state from a text input? i'm trying to do a very simple "hello world" with a text input. when someone types into the text input, it should
How use data from Redux state?
I am new in redux and react. i changed data with action and they are changed ! i get to react component state. it is as follows:
React event hierarchy issue
What is the best way to handle state changes in a deep node which also need to be handled by a parent node. here is my situation:
Reactjs: Do classes/prototypes have any place in our applications?
An o.o developer making his transition into a world of modules almost all of my javascript coding experience has been in react and almost
update reactjs context after ajax request finished with flux architecture
I need to update the context after an ajax request has finished. i'm using the flux architecture and everything works to the point that when my component is notified about
Ad
Multiple Components Using One Store
What's the best way to handle a case where multiple components are using one store (which is populated by api calls in an action creator), but each component may need to
What is causing the web page to reload?
I have built a simple service to compose a series of tweets, http://tweetsmart.in using react and flux. i am
React + Flux - How to avoid global variable
I have been working on react/flux and am confused over the declaration of variable outside the component as in below code. countercomponent.js
Ad
Blog Categories
Ad