Skip to content

Instantly share code, notes, and snippets.

View 0x1337ak's full-sized avatar

ayoub khourbach 0x1337ak

View GitHub Profile
@swarajbachu
swarajbachu / tiptap-editor.dom.tsx
Last active September 5, 2025 09:00
tiptap editor mobile
/** biome-ignore-all lint/suspicious/noExplicitAny: DOM imperative methods require any[] for JSONValue compatibility */
"use dom";
import Highlight from "@tiptap/extension-highlight";
import Placeholder from "@tiptap/extension-placeholder";
import Typography from "@tiptap/extension-typography";
import { EditorContent, useEditor } from "@tiptap/react";
import StarterKit from "@tiptap/starter-kit";
import type { JSONValue } from "expo/build/dom/dom.types";
import { type DOMImperativeFactory, useDOMImperativeHandle } from "expo/dom";
import { useCallback, useMemo } from 'react';
import {
useAnimatedStyle,
useSharedValue,
withSpring,
WithSpringConfig,
withTiming,
WithTimingConfig,
} from 'react-native-reanimated';
@shirakaba
shirakaba / Creating an Expo app in 2023.md
Created July 12, 2023 08:08
Creating an Expo app in 2023

Creating an Expo app in 2023

12th July, 2023. I'm going to try creating an iOS app called Paranovel, using Expo. My environment for mobile app dev (Xcode, Ruby, etc.) should be in reasonably good shape already as I frequently develop with React Native and NativeScript.

Creating the app

Go to https://docs.expo.dev, and see the Quick Start: npx create-expo-app paranovel

This runs with no problem, then I get this macOS system popup: