The main difference between the two pages is the method of sending messages. Recieving messages is the same in both.
Send messages to iframe using iframeEl.contentWindow.postMessage
Recieve messages using window.addEventListener('message')
const trafficLightMachine = Machine({ | |
id: "trafficLight", | |
initial: "red", | |
on: { | |
NEXT: "green" | |
} | |
}) |
Fix the annoying Explorer sidebar of webtask.io and make it scrollable. 😊
I use Google Chrome browser so I installed User CSS extension which basically allows one to add custom CSS to add a website.
Here's the custom css to add:
import React from "react"; | |
import axios from "axios"; | |
class App extends React.Component { | |
constructor() { | |
super(); | |
this.state = { | |
todos: [], | |
isFetching: true | |
}; |
here |
<?php | |
class AbanteCartValetDriver extends ValetDriver | |
{ | |
/** | |
* Determine if the driver serves the request. | |
* | |
* @param string $sitePath | |
* @param string $siteName | |
* @param string $uri |