Understanding React Hooks as a backend developer