Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Philosophy documentation #53

Open
Raynos opened this issue Jun 12, 2014 · 1 comment
Open

Philosophy documentation #53

Raynos opened this issue Jun 12, 2014 · 1 comment
Labels

Comments

@Raynos
Copy link
Owner

Raynos commented Jun 12, 2014

We should document the core philosophy of mercury.

Idempotence

The following hold.

render(A); render(A); === render(A);

render(A); render(B); === render(B);

@Raynos
Copy link
Owner Author

Raynos commented Jun 17, 2014

Normalized central state

Because all your state is in a top level state atom for your entire application you can ensure this state atom is in a normalized format.

This means there is only one mutable source of truth for any entity which removes an entire realm of problems like cache invalidation, shared state, replication, etc

see http://blog.getprismatic.com/om-sweet-om-high-functional-frontend-engineering-with-clojurescript-and-react/

@kumavis kumavis added the docs label Feb 6, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants