ReactBlr / redux-workshop

1 stars 1 forks source link

Topics for State Management #1

Open kamleshchandnani opened 6 years ago

kamleshchandnani commented 6 years ago

This thread is to discuss the agenda for state management using redux. @akiran Please share what all you're planning for this workshop? Then we can come up with a proper structure and split up of topics.

Looping in the interested instructors: @sumit-gupta91

sumit-gupta91 commented 6 years ago

I would like to take a workshop on redux middleware, I will cover following topics a) What are middlewares and what is redux middleware?. b) When and how should use one ?. c) Show with examples how we used redux middleware in treebo hotels to tackle a few use cases that were well suited for redux middlewares.

akiran commented 6 years ago

@sumit-gupta91 Yes, that sounds good. I will cover fundamentals of redux and ui state management with redux. You can cover middlewares and handling asynchronous actions.

I will setup this repo with some code and give more information about workshop plan on Monday

cc @kamleshchandnani

kamleshchandnani commented 6 years ago

That sounds good to me. So I guess we can come up with a general use case in form of a small app and then both of you can take it as an ideal example. So this becomes like start with an empty puzzle board and then add piece by piece to it and complete the puzzle. By doing this the attendees can have clear about how to think of state management, is redux even required, how to make a decision about when to introduce state management.

What say?

akiran commented 6 years ago

Instead of puzzle, I am thinking using very simple e-commerce app as example.

I recently used it for a apollo workshop https://github.com/neostack/graphql-apollo-ecommerce-site We can re-use styles and react components from this repo and add redux specific logic.

What do you think ?

kamleshchandnani commented 6 years ago

Oops! I didn't say puzzle as an example. I was just putting the analogy of puzzle. So the whole point I was trying was start with a small example and add state management to it step by step in your sessions. 😛

akiran commented 6 years ago

ok, got it.

tallpants commented 6 years ago

First timer here, will this be free to attend?

akiran commented 6 years ago

@tallpants Yes, it is free

vkallore commented 6 years ago

I'm very new to Redux, in fact, I have just started actions docs.

Previously, I have worked on React.js, converting modules from php built ones. I had tough time with handling state between components, I had to go through parents and re-render each & every components. I had never thought about this that time.

When I started going through some sample applications like Create React Flask, I couldn't understand what is this Redux about.

It would be great, if you guys could consider beginners like me :)

ashish1729 commented 6 years ago

if middlewares are to be covered, i think someone in react meetup gave a talk on how to create a middleware recently. That introduction will be very useful

sumit-gupta91 commented 6 years ago

@ashish1729 we have got it covered, we will not only look into how to create a middleware but also we will create one based on a problem.

ashish1729 commented 6 years ago

that's great, looking forward