Comments (1)
OK, I looked into this and redux
is very much coming from a Javascript approach and it seems overly complicated in its design. I've come up with something that for sure uses the flux approach to things. I think there are idiomatic options in TypeScript that I prefer over what is there in Javascript. In particular, I want the ability to preserve type checking.
Anyway, I've implemented something where the use of setState
never appears at the level. Instead, components are given a special observer instance that they can use to link their own internal state to the global state and that link takes care of making the setState
calls for them.
I'll probably refine it more later as I get a feel for React and flux. But I'm pretty happy with what I have.
All this and a bunch more were committed in 91e0846.
from search.
Related Issues (20)
- Drop spinner and just suppress showing search box HOT 1
- Add routes HOT 2
- Add support for emoji icons HOT 11
- Sort versions according to semantic versioning HOT 2
- Star button does nothing HOT 3
- Semantic sorting HOT 5
- Why can't "IDEAS" or "FastBuildings" be found? HOT 4
- Rendering issue under iOS Chrome HOT 1
- Add "Fork me on GitHub ribbon" HOT 5
- What badges to display. HOT 1
- Only deploy distribution files to impact.github.io HOT 2
- Add semantic version HOT 1
- Refactor so application is built once index is loaded
- Add a "Back to search results" button on the detailed view HOT 3
- Add filter tick-boxes under the search field HOT 1
- public version "newer" than source version HOT 1
- Display also libraries w/o releases?
- library listed twice HOT 3
- Multiple references HOT 2
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 search.