All Questions
1,042
questions
0
votes
2
answers
745
views
Handling WebSocket connections in Jasmine tests
I have my test.login.js:
it('calls login when there\'s a username present', () => {
React.findDOMNode(LoginElement.refs.username).value = 'foo';
TestUtils.Simulate.submit(form);
expect(...
3
votes
1
answer
2k
views
Flux and WebSockets
I'm using Flux and WebSocket in my Reactjs application and during implementation I've encountered some problems.
Questions:
Assuming I have a set of a set of actioncreators and a store for managing ...
0
votes
2
answers
1k
views
Reactjs working with sockets: rerender when socket receive a message
I'm try to implement something like chat application with usage of websockets. But when websocket got a message, no components are rerendering. Please review my code
# The main ancestor, chat ...
5
votes
1
answer
2k
views
Where do sockets fit into the Flux unidirectional data flow?
Where do sockets fit into the Flux unidirectional data flow? I have read 2 schools of thought for where remote data should enter the Flux unidirectional data flow. The way I have seen remote data for ...
3
votes
1
answer
267
views
How do I continually update my ReactJS client from my Ruby REST/CRUD API without polling?
BACKGROUND
I'm building a simple ReactJS application as a proof of concept; with Flux architecture and all.
I have a Ruby and MongoDB data layer API built using Sinatra and Mongoid.
A front-end ...
7
votes
2
answers
6k
views
React server-side rendering without polling for changes
I'm in the process of experimenting with transitioning an existing web app from knockout to react js.
As it stands the application establishes a websocket connection to the server and receives update ...
1
vote
1
answer
539
views
Reactjs don't duplicate my message after update state
I was following the example this blog and the question arose me after implementing
https://github.com/DanialK/ReactJS-Realtime-Chat
Summarizing, before send a message via websocket the state of ...