This file contains hidden or 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
| { | |
| "message": "retrieveCorrumpuousWines", | |
| "data": [ | |
| { | |
| "id": "79f7c678-9a4b-463a-8ad2-6e2fba2eefee", | |
| "kind": "wine", | |
| "name": "-", | |
| "description": null, | |
| "searchableName": " ", | |
| "searchableProducer": "chatagnier aurelien", |
This file contains hidden or 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
| { | |
| "Console Log": { | |
| "prefix": "log", | |
| "body": [ | |
| "console.log(${1})", | |
| ], | |
| "description": "Log something in console" | |
| }, | |
| "Create StyleSheet": { | |
| "prefix": "ss", |
This file contains hidden or 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 "RCTUtils.h" | |
| #import <React/RCTBundleURLProvider.h> | |
| #import <React/RCTRootView.h> | |
| #import <FBSDKCoreKit/FBSDKCoreKit.h> | |
| #import <FBSDKLoginKit/FBSDKLoginKit.h> | |
| @implementation AppDelegate | |
| - (void)applicationDidBecomeActive:(UIApplication *)application { |
This file contains hidden or 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 Counter extends React.Component { | |
| constructor() { | |
| super(); | |
| this.state = { count: 0 }; // Initialisation des données de départ | |
| } | |
| increment() { | |
| this.setState({ count: this.state.count + 1 }); // Mise à jour des données | |
| } | |
This file contains hidden or 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 Sample extends Component{ | |
| state = { value: 0 }; | |
| _onClick(){ | |
| this.setState({ | |
| value: value + 1 | |
| }); | |
| } | |
| render(){ |
This file contains hidden or 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
| /** | |
| * Sass task | |
| * | |
| */ | |
| gulp.task('sass', function() { | |
| gulp.src([srcDir + 'sass/*.scss']) | |
| .pipe(sass()) | |
| .on('error', function (err) { | |
| console.log(err.message + ' on line ' + err.lineNumber + ' in file : ' + err.fileName); | |
| }) |