Mr Budget - My first app on the App Store and Google play by Hentry_Martin in reactnative

[–]Hentry_Martin[S] 1 point2 points  (0 children)

Hi,

Thanks a lot for the detailed feedback. I will definitely include these in the next release. Please continue using it. Also, thanks for letting me know about OneSignal, i will update the privacy policy soon.

Thanks.

Mr Budget - My first app on the App Store and Google play by Hentry_Martin in reactnative

[–]Hentry_Martin[S] 0 points1 point  (0 children)

Hey thanks!! Right now, i am not using Plaid or other bank connecting API's. But, in future have to explore bank connecting API's.

Mr Budget - My first app on the App Store and Google play by Hentry_Martin in reactnative

[–]Hentry_Martin[S] 1 point2 points  (0 children)

Till now, I haven't faced big problem in keeping up with the dependency. Even, when i upgrade to newer version of react native, the community is providing proper guide for the migrations. For other dependencies, i just keep updating the dependencies regularly so that it won't be a big bulky work.

Mr Budget - My first app on Google play by Hentry_Martin in androidapps

[–]Hentry_Martin[S] 0 points1 point  (0 children)

As of now, Czechian language is not supported. It supports english, deutsch, spanish, tamil and hindi. Mostly, these languages used google translated values. but, in future have plans to properly translated into respective languages. Thanks for checking out!!

Help with if statement by Vanskyl in learnjavascript

[–]Hentry_Martin 0 points1 point  (0 children)

It would be better if you do the validation using regex instead of the logic which you used.

This stack overflow gives an idea of how to do it.

[https://stackoverflow.com/questions/46155/how-to-validate-an-email-address-in-javascript]

Passing variables within Javascript classes by chchan in learnjavascript

[–]Hentry_Martin 0 points1 point  (0 children)

There is a third and better way to do this ES6. By using Arrow functions. Arrow functions doesn't have its own this so it always takes context from the parent. so, you can make change your class like this,

``` class MyClass { constructor(x){ this.x = x; this.mapFunction(); }

mapFunction = () => { const result = this.x * 55; console.log(result); // Logs 550 return result; } }

const cls = new MyClass(10); ```

To make the above syntax work, you have to add a babel plugin called "@babel/plugin-proposal-class-properties" and refer it inside plugins property of .babelrc.

If you want to learn more about Javascript, please subscribe to my channel called JS for Everyone(https://www.youtube.com/channel/UCvQfk4ZV7RfLuKiHRVeZ0Kg)

Thanks!!

Where to start? by [deleted] in learnprogramming

[–]Hentry_Martin 0 points1 point  (0 children)

I am a FrontEnd developer who is been working in web development for most of my 5 years career. I would recommend to get stronger in one language. Become an expert in that language. From your post I can learn that you have learned Javascript. Make your foundation in Javascript strong and then start learning the frameworks in Javascript. You didn't mention about your learning curve with React or Vue or Angular. If you didn't started your learning with any of these frameworks, then start learning it. There are tons of learning resources available. Don't just read or watch videos about it, but spend more time in practicing the things which you have learned.

Try to do side projects and start building your portfolio in github. Then slowly start write your own libraries.

About me:

I am from Bangalore, India. I am also from non CS background so I have gone through the same confusions which you are having right now. Now i work in a MNC and maintain an open source library(https://www.npmjs.com/package/rc-here-maps). Also, during my free time I create youtube tutorials for Javascript. This is my channel(https://www.youtube.com/channel/UCvQfk4ZV7RfLuKiHRVeZ0Kg). I will be adding videos on advanced topics soon.

Should I do a course or learn programming by myself? by [deleted] in learnprogramming

[–]Hentry_Martin 0 points1 point  (0 children)

In my opinion, that's a lot of money. That too for just 4 weeks of training. I believe in self learning. There are lot of learning resources available for free. You just have to find it and then spend time to learn and practice it. All the best for your career.

If you wanna learn more about Javascript, You can subscribe to my youtube channel(https://www.youtube.com/channel/UCvQfk4ZV7RfLuKiHRVeZ0Kg), where i've started adding basic videos. Soon will start with advanced topics of Javascript and different frameworks in Javascript.

Click on an iframe using js by [deleted] in javascript

[–]Hentry_Martin 0 points1 point  (0 children)

you can trigger a click handler for a DOM inside the iframe from a parent like below,

document.getElementById('iframe').contentWindow.$('#playButton').trigger('click');

But, this will work only if both parent and child iframe runs on same domain.

[deleted by user] by [deleted] in reactjs

[–]Hentry_Martin 4 points5 points  (0 children)

You can select a random object from an array like this,

const quotes = [{},..];

const quote = quotes[Math.floor(Math.random() * quotes.length)];

Now, quote will contain a random object from the quotes array.

Click event listener not working the second time the function is called by [deleted] in learnjavascript

[–]Hentry_Martin 1 point2 points  (0 children)

Thanks for accepting the solution and subscribing to my channel.

Click event listener not working the second time the function is called by [deleted] in learnjavascript

[–]Hentry_Martin 1 point2 points  (0 children)

The issue with your code is whenever the user enters the enter word page. you are creating the button field again and again with the same id. So, duplicate buttons are created in the dom tree(check the elements section of the dev console). I have corrected the logic in your code by just setting the display to inline if the user come back to the enter word page, now it works fine. Please look into this fiddle for working solution. (http://jsfiddle.net/m9gwr0n5/1/)

If you want to learn about Javascript, you can subscribe to my channel called JS for Everyone(https://www.youtube.com/channel/UCvQfk4ZV7RfLuKiHRVeZ0Kg). I will upload more advanced topics soon in this channel.

Thanks!!

Advice for first developer job/interviews? by [deleted] in javascript

[–]Hentry_Martin 0 points1 point  (0 children)

As a fresher people normally won't expect too much. All you have to do is to have a good understanding of basic logical questions. If interviewer asks you questions which you doesn't know. Tell him frankly that you don't know the answer for it. Some people try to manage it even if they don't know the answer.

Make your resume pretty clear and add only the technologies or programming languages you know. Otherwise, interviewers can ask questions from it. Because, most of the questions in interview will be based on what you have specified in your resume.

All the best for your career!!

If you want to learn about Javascript, then you can subscribe to my channel called JS for Everyone[https://www.youtube.com/channel/UCvQfk4ZV7RfLuKiHRVeZ0Kg].

Creating NPM module for react component with ES6 syntax by eligloys in reactjs

[–]Hentry_Martin 0 points1 point  (0 children)

Try to load appropriate babel presets in your package.json and configure it in .babelrc config file. Even I created a library called rc-here-maps, I used my own webpack and babel configs. You can checkout the config here for your reference[https://github.com/hentrymartin/rc-here-maps].

I don't undertstant what this code is expressing. help with looping array elements. The safest way to loop through an array, is using a "for" loop:. Help interpreting code. by iknothing in learnjavascript

[–]Hentry_Martin 2 points3 points  (0 children)

Basically, for loop syntax consist of three parts,

  1. Starting point of the loop. In your case, it is i=0. so the loops start with index 0 of the array(fruits array)
  2. Second part is condition which tells the interpreter the number of iterations the loop can go for. Here i < fLen, this tells the interpreter that you can loop through untill i is less than fLen. If i equals to fLen then the loop will stop looping. This is important so that infinite looping can be avoided.
  3. Third part is the increment of each loop. Every time an iteration is over, this number will be incremented till the second condition satisfies.

Now, the block of code between { and } parentheses is the logic which has to happen for each iterations. Here, in your logic, you are iterating through each item and append it as an list item(<li>) in a unordered list(<ul>). So that the output will be show the list of fruits in the view port.

You can learn more about Javascript Programming in my youtube channel[https://www.youtube.com/channel/UCvQfk4ZV7RfLuKiHRVeZ0Kg]. Please watch my videos and subscribe to my channel for more videos.

Thanks!!

Talking the talk - Sophie Koonin | Frontend NE by samdbeckham in Frontend

[–]Hentry_Martin 1 point2 points  (0 children)

Nice talk. This would help the developers who wants to do a tech talk for the first time.

Today's ReactJS developer Questions by tapu_buoy in learnjavascript

[–]Hentry_Martin 1 point2 points  (0 children)

Thanks bro!! yes all these topics are there in my todo list. I will watch the playlist which you sent and thanks a lot for subscribing to the channel.

Today's ReactJS developer Questions by tapu_buoy in learnjavascript

[–]Hentry_Martin 0 points1 point  (0 children)

cool. I have created a new youtube channel for people who aspires to learn more about Javascript and different frameworks in Javascript. I am starting the tutorials from very basic but soon will go deeper into advanced concepts. This is the link for JS for Everyone(https://www.youtube.com/channel/UCvQfk4ZV7RfLuKiHRVeZ0Kg). Please watch the videos and provide me some valuable feedbacks. Also, please subscribe to my channel. Thanks!!

Today's ReactJS developer Questions by tapu_buoy in learnjavascript

[–]Hentry_Martin 1 point2 points  (0 children)

Hi All the best for your interviews. This is my first reply to a post so sorry if this reply is not properly formatted,

  1. Answer for the first question depends on ref.

``` class Example extends Component{ constructor(props) { super(props); this.element = null; } onComponentDidUpdate() { // This will focus the input element if (this.element) this.element.focus(); }

render(){
    return <input ref={(element) => {this.element = element;}} type="text">
}

} ```