Sep 2017
11 Mon
12 Tue
13 Wed
14 Thu 08:30 AM – 05:45 PM IST
15 Fri
16 Sat
17 Sun
Sep 2017
11 Mon
12 Tue
13 Wed
14 Thu 08:30 AM – 05:45 PM IST
15 Fri
16 Sat
17 Sun
Sai Kishore Komanduri
This talk shall focus on DraftJS, a rich text editor framework built for React apps; and how it leverages ImmutableJS; for managing the state of an editor in its entirety, with sufficient examples.
The key takeaway insights of the talk include:
The intended audience of the talk are JavaScipt developers who’re acquainted with ReactJS, who are either:
There are multiple paradigms of text editing on the web; WYSIWYG editors have become a defacto standard for writing long form articles
After a brief look at a couple of text editing paradigms; the inconsistent content-editable
behaviour across browsers, and how the abstraction provided by DraftJS solves the problem...
...the core of the talk would be concentrated on how DraftJS leverages ImmutableJS to maintain the entire state of an editor — the content, the selection state, and a bunch of other things — using an immutable data model
Because of the above fact — the entire editor state being nothing but an Immutable data structure — we can conceive any imaginable state of the editor that we might want to, using the ImmutableJS API ...and we shall see the same using examples, and code
Towards the end the talk shall discuss the benefits of immutability, immutable data structures; which one could consider while building data models for an application
Sai is a Developer Evangelist at Hashnode. Apart from interacting with the global Hashnode community, his work is spread across the entire Hashnode’s tech stack. Recently, he has spearheaded the “WYSIWYG editor” project at Hashnode.
https://speakerdeck.com/saiki/rich-text-editors-in-reactjs-an-intro-to-draftjs
Sep 2017
11 Mon
12 Tue
13 Wed
14 Thu 08:30 AM – 05:45 PM IST
15 Fri
16 Sat
17 Sun
Hosted by
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}