Skip to content

Instantly share code, notes, and snippets.

View ThomasSquall's full-sized avatar

Thomas Cocchiara ThomasSquall

  • Fees.world
  • Piedmont - Turin
  • 16:26 (UTC -12:00)
View GitHub Profile
import React from 'react';
import './App.css';
const InsideSection = (props) => {
const { recent, setRecent } = props;
const ulRef = React.createRef<any>();
React.useEffect(() => {
console.log("overflow");
console.log(recent, "before"); // returns [] instead of the list
<?php
include_once "vendor/autoload.php";
include_once "src/Adapter.php";
include_once "src/Configs.php";
use MongoDriver\Adapter;
use MongoDriver\Configs;
/**