This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Node { | |
constructor(data, next = null) { | |
this.data = data; | |
this.next = next; | |
} | |
} | |
//Let's create four nodes | |
let node1 = new Node(5); | |
let node2 = new Node(10); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//condition to resolve or reject the promise | |
const isDadHappy = false; | |
//Trumpet promise | |
const trumpet = { | |
brand: "Mendini", | |
model: "MTT-30L", | |
price: 125 | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default LifeCyclesHooks { | |
// This hook triggers before the Vue instance is created, we cant acccess to data | |
beforeCreate(){ | |
console.log("Before create") | |
} | |
//Called syncronously after the Vue instance is created. | |
created(){ | |
console.log("Hook created") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="app"> | |
<img alt="Vue logo" src="./assets/logo.png"> | |
<HelloWorld msg="Welcome to Your Vue.js App"/> | |
</div> | |
</template> | |
<script> | |
import HelloWorld from './components/HelloWorld.vue' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
dev_dependencies: | |
flutter_launcher_icons: "^0.9.0" | |
flutter_icons: | |
aandroid: true | |
ios: true | |
image_path_ios: "assets/images/launcher/ios.png" | |
image_path_android: "assets/images/launcher/android.png" | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
dev_dependencies: | |
flutter_launcher_icons: "^0.9.0" | |
flutter_icons: | |
android: true | |
ios: true | |
image_path_ios: "assets/images/launcher/ios.png" | |
image_path_android: "assets/images/launcher/android.png" | |
adaptive_icon_background: "assets/images/launcher/background.png" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "AppDelegate.h" | |
@import IterableSDK; | |
#import <React/RCTBridge.h> | |
#import <React/RCTBundleURLProvider.h> | |
#import <React/RCTRootView.h> | |
#import <React/RCTLinkingManager.h> | |
#import <UMCore/UMModuleRegistry.h> | |
#import <UMReactNativeAdapter/UMNativeModulesProxy.h> | |
#import <UMReactNativeAdapter/UMModuleRegistryAdapter.h> |