Robert Soriano

Results 186 comments of Robert Soriano

Here's an awesome component if you want snapping https://github.com/rgommezz/react-native-scroll-bottom-sheet

Well if you really need to use it now you can just create a plugin ```ts // ~/plugins/dayjs.ts import dayjs from 'dayjs'; import relativeTime from 'dayjs/plugin/relativeTime'; import localizedFormat from 'dayjs/plugin/localizedFormat';...

> I think they recommend https://github.com/tailwindlabs/tailwindcss-forms for v2 Looking at the commits, I think they're preparing for Tailwind 2 compatibility https://github.com/tailwindlabs/tailwindcss-custom-forms/pull/79

Yep, looks like they're not planning on supporting Tailwind CSS 2 https://twitter.com/adamwathan/status/1330846547039367169

Any chance we can access the `vm` like in `@vue/test-utils`? Planning to do something like ```ts import { waitFor, render } from '@testing-library/vue' import { useQuery, VueQueryPlugin } from 'vue-query'...

Now, this is awesome! With `express` and `zod` for example, you can type the body like this: ```ts import { Request, RequestHandler, Response } from 'express'; export const validateRequestBody: (...

In the meantime, you can use this simple module that wraps express-session https://github.com/wobsoriano/h3-session

Idk maybe multer or formidable would work ```ts import * as formidable from 'formidable' import { createApp } from 'h3' const form = formidable({ multiples: true }) app.use('/upload', async (req,...

Then do it like this? ```ts import type { IncomingMessage, ServerResponse } from 'http' const form = formidable({ multiples: true }) export default async (req: IncomingMessage, res: ServerResponse) => {...

Not sure about this but you can try ```ts // server/middleware/socket.ts import type { IncomingMessage, ServerResponse } from 'http' import { Server } from 'socket.io' let server: any = null...