---
title: "Diego Bernal (@go_diego) | Hashnode"
description: "Front-End Engineer. Read the latest articles by Diego Bernal on Hashnode."
url: "https://hashnode.com/@go_diego"
---

@go\_diego

# Diego Bernal

@go\_diego · Coachella Valley, California · Joined July 2017

Front-End Engineer

[Website](https://www.godiego.me/)

## Comments

[Host for free with Netlify.](https://hashnode.com/forums/thread/which-hosting-plan-should-i-buy/comment/5d727ce3e1b2f5947485d070)

Comment · Thread · Sep 6, 2019 · [Which hosting plan should I buy?](https://hashnode.com/forums/thread/which-hosting-plan-should-i-buy)

[This might help. It's a serverless function to post a tweet. You might be able to modify it to fetch tweets. https://github.com/colbyfayock/tweet/blob/0d22f08292bb077f2248329abe9bf37ef7d8bf89/src/tweet.js](https://hashnode.com/forums/thread/how-to-fetch-tweets/comment/5d6706e0049bf2dd280940ec)

Comment · Thread · Aug 28, 2019 · [How to fetch tweets?](https://hashnode.com/forums/thread/how-to-fetch-tweets)

[Here is a list of popular static site generators. If interested, here is a list of headless cms if you need content management. I personally got with NextJS and host on Netlify. Jekyll and Netlify work well too](https://hashnode.com/forums/thread/which-technologyframework-would-you-use-to-create-a-static-website/comment/5d5d6ce651f0c06b2b39d920)

Comment · Thread · Aug 21, 2019 · [Which technology/framework would you use to create a static website?](https://hashnode.com/forums/thread/which-technologyframework-would-you-use-to-create-a-static-website)

[In this case, <App/> should be the component that manages the state so that <MyForm/> uses it as props. Something like this: const \[firstName, setFirsName\] = React.useState("Arun"); const \[lastName, setLastName\] = React.useState("Kumar"); // you'll need to define some event handlers to change the values // the form component will use these const handleSubmit = e => { e.preventDefault(); // do whatever you need to do with the values console.log("firstName", firstName); console.log("lastName", lastName); } return ( <div> <MyForm fname={firstName} lname={lastName} onSubmit={handleSubmit} /> </div> );](https://hashnode.com/forums/thread/pass-forms-submit-handler-as-a-props-and-also-access-the-forms-state-in-the-submit-handler/comment/5d445207de78aeab437fece8)

Comment · Thread · Aug 2, 2019 · [Pass form's submit handler as a props and also access the form's state in the submit handler.](https://hashnode.com/forums/thread/pass-forms-submit-handler-as-a-props-and-also-access-the-forms-state-in-the-submit-handler)

[What does you .babelrc look like](https://hashnode.com/forums/thread/exports-not-defined-objectdefinepropertyexports-__esmodule-value-true/comment/5d4300ad2d29b6d720913439)

Comment · Thread · Aug 1, 2019 · [exports not defined. Object.defineProperty(exports, "\_\_esModule", { value: true });](https://hashnode.com/forums/thread/exports-not-defined-objectdefinepropertyexports-__esmodule-value-true)

[Well, Google came up fine, but not the other ones. They catch. Have you enabled the different login providers on your console?](https://hashnode.com/forums/thread/firebase-react-authentication-component-not-showing-the-popup/comment/5d13964e467da8880e3dcc2c)

Comment · Thread · Jun 26, 2019 · [firebase react authentication component not showing the popup](https://hashnode.com/forums/thread/firebase-react-authentication-component-not-showing-the-popup)

[What do you mean by it isn't showing properly. The Google dialog comes up fine for me.](https://hashnode.com/forums/thread/firebase-react-authentication-component-not-showing-the-popup/comment/5d139205467da8880e3dcbb8)

Comment · Thread · Jun 26, 2019 · [firebase react authentication component not showing the popup](https://hashnode.com/forums/thread/firebase-react-authentication-component-not-showing-the-popup)

[Do you happen to have a codesandbox of this?](https://hashnode.com/forums/thread/how-can-strike-a-post-out-when-i-click-the-complete-button-in-react/comment/5d110fc8e27251137581731f)

Comment · Thread · Jun 24, 2019 · [How can strike a post out when i click the complete button in React](https://hashnode.com/forums/thread/how-can-strike-a-post-out-when-i-click-the-complete-button-in-react)

[Do you have a codesandbox of this?](https://hashnode.com/forums/thread/reactjs-validation-not-working-with-yup-using-formik-multistep-form/comment/5cdeebbb6c99a77b4957a2a8)

Comment · Thread · May 17, 2019 · [ReactJS: Validation not working with Yup using Formik multistep form](https://hashnode.com/forums/thread/reactjs-validation-not-working-with-yup-using-formik-multistep-form)

[I haven't done work with this yet but a quick search yields this promising thread: https://github.com/jaredpalmer/formik/issues/926](https://hashnode.com/forums/thread/reactjs-how-to-handle-image-file-upload/comment/5cdad9c76099b1f4731bac19)

Comment · Thread · May 14, 2019 · [ReactJS: How to handle Image / File upload ?](https://hashnode.com/forums/thread/reactjs-how-to-handle-image-file-upload)
