A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
Reasonable default configuration for a web app that uses Django and the following dependencies:
This is my goto for setting up projects.
@Resolver() | |
export class HelloResolver { | |
@Authorized() | |
@Query(() => String) | |
hello(): string { | |
return "Hello World"; | |
} | |
} |
import { integer, sqliteTableCreator, text } from 'drizzle-orm/sqlite-core' | |
const sqliteTable = (tenant?: string) => | |
sqliteTableCreator(name => (tenant ? `${tenant}_${name}` : name)) | |
export const users = sqliteTable()('users', { | |
id: integer('id', { mode: 'number' }).primaryKey({ autoIncrement: true }), | |
name: text('name'), | |
}) |
// See https://typeofweb.hashnode.dev/nextjs-prefetch-onmouseenter for a detailed explanation and more code | |
// See it in action: https://demo.yournextstore.com | |
"use client"; | |
import Link from "next/link"; | |
import { useRouter } from "next/navigation"; | |
import { type ComponentPropsWithRef } from "react"; | |
export const SuperLink = (props: ComponentPropsWithRef<typeof Link>) => { | |
const router = useRouter(); |