Comments (13)
This is the best example I've seen thus far:
https://github.com/voronianski/flux-comparison/tree/master/alt
It doesn't have some of the bullet points you mention though.
There are a few isomorphic examples here, but they're rather simple:
https://github.com/goatslacker/iso/tree/master/examples
A few other example flux apps not related to alt:
https://github.com/goatslacker/example-ismorphic-one
https://github.com/goatslacker/isomorphic-react-template
https://github.com/goatslacker/flux-react-router-example
I'm definitely interested in providing a few more complex examples.
from alt.
Thanks Josh!
from alt.
There are a few examples popping up in the near future. I'll close this ticket once they're out in the wild.
from alt.
A complex example was recently open-sourced by Airbnb.
https://github.com/airbnb/airpal/tree/master/src/main/resources/assets
from alt.
Here's another example. It shows how to use socket.io with alt and use @goatslacker's iso library in an isomorphic app. It also has user authentication and some db operations.
https://github.com/troutowicz/geoshare
from alt.
Super awesome. I need to make an EXAMPLES.md file to host all these.
from alt.
- Isomorphic Example
- REST Example
- CRUD Example
- Pagination Example
- Derived Data Example
from alt.
There's now an examples section on readme
https://github.com/goatslacker/alt#examples
from alt.
Any example of how to send an error to a view in Flux? I haven't seen the handling of an error in the view without promises being returned from actions (this is against the Flux model.)
The errors here seem to be logged, but not displayed to the user:
https://github.com/airbnb/airpal/blob/master/src/main/resources/assets/javascripts/actions/QueryActions.js#L17
from alt.
Put it in state?
from alt.
@goatslacker Realised that today. Errors are state and should be a part of stores. Thanks
from alt.
Hi, I am interested in a good example for Login/Register/Authenticated pages, etc. Plus expiry
of authentication based on token, etc. Is there anything like that anywhere? Thanks.
from alt.
@goatslacker I need help using preact js inside a standalone website without using a precompiler.
example: could be a basic hello world button that opens an alert when clicked.
load preact from a cdn and code the preact app or component to Add onto an html page.
thanks in advance for anyone responding to this message.
from alt.
Related Issues (20)
- Is this still alive? HOT 2
- sequentially perform actions that require source retrieval at same time HOT 2
- Error handler does not get triggered for ajax calls HOT 4
- Wait for store function to complete
- Different tests competing in modifying the store
- Multiple input in controlled forms
- Public Method returns state not store; am I guaranteed the Store is updated when the listener fires? HOT 1
- PropTypes in React 16 Deprecated HOT 2
- dispatchIdentity rudely omit all params when the first one is undefined.
- Upgrade to Webpack 3 HOT 1
- Store not listening to actions HOT 4
- can not call DataSource function during an action
- Typescript does not work
- Using bindListeners vs Store.listen emits changes several seconds slower HOT 1
- docs specify file that does not exists
- How to test async actions
- ss state in compoennts HOT 2
- Trato de hacer la mostrar mis registros en paginas HOT 1
- Documentation needs to be fixed HOT 4
- Documentation needs to be fixed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alt.