import React from 'react' import Link from 'next/link' let counter = 0 export default class Counter extends React.Component { increaseCounter () { counter++ this.forceUpdate() } render () { return (
Counter: {counter}