Skip to content

Instantly share code, notes, and snippets.

Avatar

Daan Kauwenberg daankauwenberg

View GitHub Profile
@daankauwenberg
daankauwenberg / App.js
Created Feb 25, 2020
A React cookie consent using hooks and context
View App.js
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 Jun 5, 2019
Visual Studio Code config
View settings.json
{
"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",