• Stars
    star
    260
  • Rank 153,959 (Top 4 %)
  • Language
    JavaScript
  • Created over 10 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Preact/Redux + Websocket Example: For Fun

react/redux websocket example

travis

Installation:

Note: This requires a recent version of NodeJS to work.

git clone [email protected]:maxnachlinger/react-websocket-example.git

cd react-websocket-example
npm i

Running this app:

npm start

The app runs at http://silly-chat.localtest.me:3000

Building and running in prod mode:

npm run start-prod 

TODO

  • Show idle users with idle times ("idle for N minutes" etc)
  • Add CSS - dear God the UI is awful :)
  • Allow users to edit their recent messages, but show an edit indicator by edited message to everyone else

More Repositories

1

mf-text-length

A text-length form validator and display directive for AngularJS
JavaScript
20
star
2

cloudfront-private-url-creator

Creates and signs private Cloudfront Urls (http, https, and rtmp)
JavaScript
14
star
3

point-in-svg-path

Determines if a point is in a SVG path - code cribbed from Snap.svg
JavaScript
13
star
4

preact-unistore-test

Take THAT big bundles!
JavaScript
11
star
5

restify-joi-middleware

Another joi validation middleware for restify.
JavaScript
8
star
6

hapi-l10n-gettext

A localization plug-in for HapiJS
JavaScript
7
star
7

memcache-client-memoizer

Memoizes promise-returning functions via a provided cache client
TypeScript
4
star
8

node-pseudo-l10n

Turns a PO or POT file into pseudo-localized PO file.
JavaScript
3
star
9

pixi.js-experiment

JavaScript
2
star
10

block-chain-talk

JavaScript
2
star
11

skia-point-in-svg-path

Uses the SKIA C 2-d graphics library to determine if a given point is within a closed SVG path.
JavaScript
1
star
12

preact-stockroom-test

JavaScript
1
star
13

single-use-file

A simple library which writes a file, and then deletes it when read.
JavaScript
1
star
14

seattle-js-talk-20140911-code

JavaScript
1
star
15

unfold-with

An unfold helper
JavaScript
1
star
16

mysql-write-builders

Generates MySQL insert and update statements from JS objects
JavaScript
1
star
17

classes-and-functions-chat

An exploration of some ideas around functions and classes in Javascript.
JavaScript
1
star
18

grunt-node-tap

A Grunt task to run node-tap tests and read their output.
JavaScript
1
star
19

log4js-node-amqp

An AMQP appender for log4js-node
JavaScript
1
star
20

transducers-talk

Yay transducers
JavaScript
1
star