UI with ReactJS and ImmutableJS
From Genecats
Revision as of 21:13, 12 January 2015 by
AngieHinrichs
(
talk
|
contribs
)
(initial outline)
(diff) ← Older revision |
Latest revision
(
diff
) |
Newer revision →
(
diff
)
Jump to navigation
Jump to search
Contents
1
Background
1.1
Evolution of Javascript in kent/src
1.1.1
Before JS: just the CGI
1.1.2
JS inlined in HTML
1.1.3
AJAX and JQuery: manipulating the DOM
1.2
MV*
1.2.1
An abandoned experiment
1.3
ReactJS & JSX
1.3.1
Simplicity of top-down render, made efficient
1.3.2
JSX: HTML-ish with the power of JS
1.3.3
Lifecycle methods of React components
1.3.4
React mixins
1.3.5
The Flux architecture: why not?
1.4
ImmutableJS
2
The new architecture
2.1
Bootstrapping: the CGI prints minimal HTML
2.2
ImModel: monolithic UI state model using ImmutableJS
2.2.1
Handling user actions
2.2.2
Handling AJAX responses
2.2.3
Undo and redo
2.2.4
ImModel mixins
2.3
View: React components using ImmutableJS
2.3.1
Avoid internal state when possible
2.3.2
Using UI state from ImModel
2.3.3
Passing user actions to ImModel
2.3.4
JQueryUi: oil & water with React, but still too useful to drop
2.4
The CGI speaks JSON now
Background
Evolution of Javascript in kent/src
Before JS: just the CGI
JS inlined in HTML
AJAX and JQuery: manipulating the DOM
MV*
An abandoned experiment
ReactJS & JSX
Simplicity of top-down render, made efficient
JSX: HTML-ish with the power of JS
Lifecycle methods of React components
React mixins
The Flux architecture: why not?
ImmutableJS
The new architecture
Bootstrapping: the CGI prints minimal HTML
ImModel: monolithic UI state model using ImmutableJS
Handling user actions
Handling AJAX responses
Undo and redo
ImModel mixins
View: React components using ImmutableJS
Avoid internal state when possible
Using UI state from ImModel
Passing user actions to ImModel
JQueryUi: oil & water with React, but still too useful to drop
The CGI speaks JSON now
Navigation menu
Page actions
Page
Discussion
Read
View source
History
Page actions
Page
Discussion
More
Tools
Personal tools
Log in
Genecats Wiki Navigation
Main page
Categories
All Pages
User Listing
Recent changes
Search
Media Wiki Navigation
Help
MediaWiki home
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information