Jul 2019
1 Mon
2 Tue
3 Wed
4 Thu
5 Fri 09:00 AM – 05:15 PM IST
6 Sat
7 Sun
Omkar Sheral
Adding Controller to the party of Components, Containers, Actions, Reducers...
Have you ever feel like life cycle methods in react components is kind of poluting the component and also increasing the file size? Well, in our project we also come across such scenarios and we thought of doing something about it.
We came up with a solution: we created an open source library(react-view-controller), which delegates all the life cycle methods to Controller making View as dumb as possible. All the logic is contained in the controller. Event handling is also taken care by the controller.
Benifits:
We are using this pattern in our projects and are absolutely loving it.
Participants should have knowledge of React and a little bit of typescript.
I am software developer in ThoughtWorks with 6 years of experience.
I have worked on various technologies, starting with Java, Android; then moved to Html, CSS, JS, Typescript, React.
Once I entered JS world, I never went back. Absolutely in love with JS.
https://docs.google.com/presentation/d/1jVgxWT6D6C8Xgr-pfcRekUOVV5gi3wHlGIhkbUazqCc/edit?usp=sharing
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}