{"action":"created","issue":{"url":"https://api.github.com/repos/jaredpalmer/formik/issues/1099","repository_url":"https://api.github.com/repos/jaredpalmer/formik","labels_url":"https://api.github.com/repos/jaredpalmer/formik/issues/1099/labels{/name}","comments_url":"https://api.github.com/repos/jaredpalmer/formik/issues/1099/comments","events_url":"https://api.github.com/repos/jaredpalmer/formik/issues/1099/events","html_url":"https://github.com/jaredpalmer/formik/issues/1099","id":379545228,"node_id":"MDU6SXNzdWUzNzk1NDUyMjg=","number":1099,"title":"The equivalent of componentDidMount","user":{"login":"Manocry","id":37206842,"node_id":"MDQ6VXNlcjM3MjA2ODQy","avatar_url":"https://avatars0.githubusercontent.com/u/37206842?v=4","gravatar_id":"","url":"https://api.github.com/users/Manocry","html_url":"https://github.com/Manocry","followers_url":"https://api.github.com/users/Manocry/followers","following_url":"https://api.github.com/users/Manocry/following{/other_user}","gists_url":"https://api.github.com/users/Manocry/gists{/gist_id}","starred_url":"https://api.github.com/users/Manocry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manocry/subscriptions","organizations_url":"https://api.github.com/users/Manocry/orgs","repos_url":"https://api.github.com/users/Manocry/repos","events_url":"https://api.github.com/users/Manocry/events{/privacy}","received_events_url":"https://api.github.com/users/Manocry/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-11T17:42:38Z","updated_at":"2018-11-12T03:57:16Z","closed_at":"2018-11-12T03:57:16Z","author_association":"NONE","body":"## ❓Question\r\n\r\nHow to init the initial value with api call instead of the following :\r\ninitialValues={{\r\nfirstName: \"\",\r\nlastName: \"\",\r\nemail: \"\",\r\nfavoriteColor: \"\"\r\n}}"},"comment":{"url":"https://api.github.com/repos/jaredpalmer/formik/issues/comments/437745604","html_url":"https://github.com/jaredpalmer/formik/issues/1099#issuecomment-437745604","issue_url":"https://api.github.com/repos/jaredpalmer/formik/issues/1099","id":437745604,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzc0NTYwNA==","user":{"login":"prichodko","id":14926950,"node_id":"MDQ6VXNlcjE0OTI2OTUw","avatar_url":"https://avatars2.githubusercontent.com/u/14926950?v=4","gravatar_id":"","url":"https://api.github.com/users/prichodko","html_url":"https://github.com/prichodko","followers_url":"https://api.github.com/users/prichodko/followers","following_url":"https://api.github.com/users/prichodko/following{/other_user}","gists_url":"https://api.github.com/users/prichodko/gists{/gist_id}","starred_url":"https://api.github.com/users/prichodko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prichodko/subscriptions","organizations_url":"https://api.github.com/users/prichodko/orgs","repos_url":"https://api.github.com/users/prichodko/repos","events_url":"https://api.github.com/users/prichodko/events{/privacy}","received_events_url":"https://api.github.com/users/prichodko/received_events","type":"User","site_admin":false},"created_at":"2018-11-12T03:57:16Z","updated_at":"2018-11-12T03:57:16Z","author_association":"COLLABORATOR","body":"Initiate API call outside of Formik and pass it as prop to `initialValues`. You may need to set https://jaredpalmer.com/formik/docs/api/withFormik#enablereinitialize-boolean to true, depends on your use case.\r\n\r\nI also recommend to learn how to format your code in Markdown - [here](https://help.github.com/articles/creating-and-highlighting-code-blocks/)"}}
{"actor":{"display_login":"prichodko"}}