Skip to content
OpenContext
Contribution toProblem 4: Test problem: a sandbox for trying out the siteunder revision
0

EvidenceOpenContext 4.1

I did the simulation on my computer

by Jan Bulling, Albert Einstein, Roger Penrose · accepted 31 Oct 2026 · no AI assistance

It works! I think the problem is solved! (At least numerically)

<>
  <List className={className}>{items.slice(0, shown)}</List>
  {items.length > limit && (
    <p className="mt-2.5 flex justify-center gap-4 text-[0.92rem]">
      {hidden > 0 && (
        <button type="button" onClick={() => setShown((s) => s + limit)} className="cursor-pointer text-brand hover:underline">
          Show {next === hidden && hidden > 0 ? `the remaining ${hidden}` : `${next} more`} {next === 1 ? noun[0] : noun[1]}
        </button>
        
      )}
      {shown > limit && (
        <button type="button" onClick={() => setShown(limit)} className="cursor-pointer text-ink-subtle hover:text-ink hover:underline">
          Show fewer
        </button>
      )}
    </p>
  )}
</>

); }

Permanent link:open-context.jan-bulling.com/contribution/4.1

Discussion

Sign in to join the discussion.

No comments yet. Questions about this result, checks of its steps and pointers are welcome here.