@hafeez1042
Nothing here yet.
Nothing here yet.
No blogs yet.
I don't have any experience in flutter or dart, but I have a little experience with reactnative and I am a react developer. if your considering react native I recommend you to go with that, since it has a large community base and if you have any experience in react it will be much easier to get started with.
Actually Flutter is not Hybrid App Development platform, but its native app development platform like react native, You can develop app on hybrid app development platform with html and css, But react native and flutter uses different syntax you have to learn that. performance vice native app development platform is much better.
If you assign an object or array to a variable, the variable doesn't store its complete value in that variable but the variable only stores its reference value, if you reassign that variable to any other value only that reference is copied to the new variable. since reference value in both variables are the same if you update any of the variables both will get updated. If you want to make a duplicate of an object you have to use spread operator(...) or Object.assign method, this will make a shallow copy of the object // Using spread operator const obj2 = {...obj1} // Using Object.assign const obj2 = Object .assign({}, obj1)
A callback function is a parameter of a function, that function can be invoked from inside the parent function, a custom example: consider an ajax request using axios or jquery, we want to do something after the promise is resolved, we can write a function like this. function doAjax ( callback ) { axios.get( 'API_URL' ) .then( function ( response ) { callback(response) }) } we can use this function to print the value in the console or in DOM like this doAjax( function ( response ) { console .log(response) }) in the case of a setTimeOut function, it has two parameters, first one is a callback function and the second one is a time delay. and it uses some logic to do time delay and invoking callback function like this: function setTimeOut ( callback, delay ) { // Delay logic goes here callback(); }
Redux is client side state container, you can manage application state on Redux. By using GraphQL we can replace lots of APIs with single API, and query anything from that API. We cannot replace Redux with GraphQL, we can use Redux and GraphQL in a single application. Most of the cases we don't have to use Redux that may be the situation you mentioned.
Don't compare native java based android or swift based IOS applications with Flutter, Flutter is Google's response to React Native, i think you should go for React Native if your familiar with JavaScript. here is a medium article on Flutter vs React Native for more detailed comparison.