back soft

مطالب مرتبط با «how to handle a bully» در back soft | نویسنده: استخدام کار

How to handle API resource status in Redux?

Vote count: 0 In my app, I'm storing all my users in the state, like this: Store = { users: [] } I'm trying to figure out what would be the best approach for telling a component if this user is loaded in or not. Right now, my process goes like this: Action called to fetch user > Save empty placeholder user with useame or id > Get actual user from API > Replace placeholder with user by useame or id Now, this works really well. I'm simply replacing already existing objects by id or useame, so I ca...

ادامه مطلب

How to handle memory in aws cpp sdk?

Vote count: 0 I recently have worked on aws-cpp-sdk from AWS service. But unfortunately I couldn't understand how to handle memory because there aren't enough tutorials or examples on the inteet. What I have tried are as follows.1. built aws-cpp-sdk as a 64bit shared dll for windows x64(exactly win10, vs 2015) using CMake.2. And used that library in win32 console application to test.3. But it's complicated while using their SDK.First attached my code #include "stdafx.h" #include #include #includ...

ادامه مطلب