Skip to content

Instantly share code, notes, and snippets.

View daankauwenberg's full-sized avatar

Daan Kauwenberg daankauwenberg

View GitHub Profile
@daankauwenberg
daankauwenberg / App.js
Created February 25, 2020 12:04
A React cookie consent using hooks and context
import React from 'react';
import { CookieConsentProvider } from './CookieConsent'
import Page from './Page'
function App() {
return (
<CookieConsentProvider>
<div className="App">
<Page />
</div>
@daankauwenberg
daankauwenberg / settings.json
Last active June 5, 2019 07:53
Visual Studio Code config
{
"workbench.colorTheme": "Monokai",
"workbench.statusBar.visible": true,
"explorer.openEditors.visible": 0,
"breadcrumbs.enabled": false,
"window.zoomLevel": 0,
"editor.minimap.enabled": false,
"editor.tabSize": 2,
"editor.tabCompletion": "on",