Yezy Ilomo

Results 45 comments of Yezy Ilomo

I think you're missing something in your JSON request, have you checked if you're sending data in the right format?..

It looks like you are not passing `login` parameter when authenticating your user, you should pass `login`, `password` and `db`.

Your request body should look like ```js { "params": { "login": "[email protected]", "password": "yor_password", "db": "your_db_name" } } ```

U might be installing pypeg2 in the env which your running odoo instance doesn't use, faced something like this in windows os, I solved it by finding the right env...

If you want to use `/auth/` route for authentication this examples might help ```py import json import requests AUTH_URL = 'http://localhost:8069/auth/' headers = {'Content-type': 'application/json'} # Remember to configure default...

The new API(Version >= 0.7) allows you to create a store yourself. A good way to use store in multiple components would be to create a `store.js` file, from there...

You can use these as a reference [Pure React]https://github.com/yezyilomo/state-pool-examples [NextJS]https://github.com/yezyilomo/state-pool-ssr

Thank you for following up, Sorry I couldn’t reply to your comment, didn’t get a time to test your issue, you can definitely open a PR, I’ll be happy to...

## Live examples for v0.7.x [HERE](https://yezyilomo.github.io/state-pool-examples) ## Code for examples [HERE](https://github.com/yezyilomo/state-pool-examples)

How about using `useUpdateState` hook which does everything like `useGlobal` but it returns `updateState` instead of `setState` with API like. ```JavaScript [state, updateState] = useUpdateState("globalState") updateState({action: "action-to-perfom", field: "field-to-update", value:...