Skip to content

Instantly share code, notes, and snippets.

View huguesbr's full-sized avatar

Hugues Bernet-Rollande huguesbr

View GitHub Profile
diff --git a/update_order.json b/update_order2.json
index 7dc070a..c61893d 100755
--- a/update_order.json
+++ b/update_order2.json
@@ -5,13 +5,13 @@
"controller": "BLFulfillment::ShopifyWebhooksController",
"action": "update_order",
"status": 204,
- "duration": 17.72,
+ "duration": 16.7,
@huguesbr
huguesbr / react-tracking-context-array-override.js
Created October 8, 2020 12:42
demo of array merge vs override in `react-tracking`
import React, { Component, Fragment } from "react";
import ReactDOM from "react-dom";
import track, { useTracking } from "react-tracking";
import "./styles.css";
// React hooks example
const HookButton = () => {
const { trackEvent } = useTracking();