forked from vasanthk/react-bits
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
227 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Anti-pattens | ||
|
||
Familiarizing ourselves with common anti-patterns will help us understand how React works and describe useful forms of refactoring our code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Conventions | ||
|
||
Just a few resonable conventions to follow, since there is no one size fits all. | ||
|
||
## Articles | ||
|
||
[Airbnb React/JSX Style Guide](https://github.com/airbnb/javascript/tree/master/react) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Gotchas | ||
|
||
React is intuitive for the most part, but there are quite a few stumbling points which might caatch you by surprise. We'll discuss more on them here. | ||
|
||
## Articles | ||
|
||
[React Gotchas](https://daveceddia.com/react-gotchas/) | ||
|
||
[Top 5 React Gotchas](http://joelgriffith.net/top-5-react-gotchas/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Perf Tips | ||
|
||
**Key Ideas** | ||
|
||
- Avoid Reconciliation with shouldComponentUpdate() check | ||
|
||
- Use Immutable Data Structures | ||
|
||
- Use Production Build | ||
|
||
- Profile Components with Chrome Timeline | ||
|
||
## Articles | ||
|
||
[Optimizing Performance: Docs](https://facebook.github.io/react/docs/optimizing-performance.html) | ||
|
||
[Performance Engineering with React](http://benchling.engineering/performance-engineering-with-react/) | ||
|
||
[Tips to optimise rendering of a set of elements in React](https://blog.lavrton.com/how-to-optimise-rendering-of-a-set-of-elements-in-react-ad01f5b161ae) | ||
|
||
[React.js Best Practices for 2016](https://blog.risingstack.com/react-js-best-practices-for-2016/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Styling in React | ||
|
||
Here we look into some ideas around using CSS in JS. | ||
|
||
If you are pondering over why to use CSS in JS, I highly recommend this [talk](http://blog.vjeux.com/2014/javascript/react-css-in-js-nationjs.html) by [Vjeux](https://twitter.com/Vjeux) | ||
|
||
## Articles | ||
|
||
[Patterns for style composition in React](http://jxnblk.com/writing/posts/patterns-for-style-composition-in-react/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters