How preload initial data from API redux? | بلاگ

How preload initial data from API redux?

تعرفه تبلیغات در سایت

آخرین مطالب

امکانات وب

Vote count: 0

I'm new in react (redux). Server send me this info (initial):

{boards:[objects],lists:[objects],tasks:[objects]}

Also, I have 3 reducers: boards,lists,tasks in my combineReducers. But i don't know how preload initial data from my web server? I want send initialData with this data from server when app is running. Thanks.

asked 25 secs ago

...
نویسنده : استخدام کار بازدید : 58 تاريخ : جمعه 29 ارديبهشت 1396 ساعت: 22:00