Skip to content

Commit ff7833d

Browse files
author
Vlad Balin
committed
Merge remote-tracking branch 'origin/master'
# Conflicts: # examples/flux-comparison/README.md
2 parents ae37a25 + ce5eee5 commit ff7833d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

examples/todomvc/readme.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@ and is on par with Angular.
1212

1313
![TodoMVC SLOC size comparison](SLOC-comparison.jpg)
1414

15-
The question is - why? Lets
15+
So, let's dig into details and understand why it's so different. No, it's not because we are using telegraph coding style,
16+
putting everything in a single LOC. :) It's something more interesting.
1617

1718
### JSX is twice smaller than usual
1819

1920
So, why?
20-
1. We're using our [advanced React Links](https://github.com/Volicon/NestedReact#two-way-data-binding) for [two-way data binding](/docs/databinding.md).
21+
22+
1. We're using [smart React Links](https://github.com/Volicon/NestedReact#two-way-data-binding) for [two-way data binding](/docs/databinding.md).
2123
2. Due to (1), we can describe the most of UI with [components defined as stateless functions](https://facebook.github.io/react/docs/reusable-components.html#stateless-functions)
2224

2325
These two techniques in combination will save you half of the work in JSX, and make it much cleaner.

0 commit comments

Comments
 (0)