kentcdodds / advanced-remix Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Small piece of feedback from doing the workshop.
Whenever I'm testing the "new deposit" functionality in the exercises, I'm constantly having to type in an amount, choose a date, then hit submit. Entering the date can get a bit tiresome.
Maybe you could default it to have a value, that way when you're doing the exercise and testing your code, you don't have to fumble through choosing a date in the UI each time you want to test posting the form data. Something like this here:
<input type="date" defaultValue={new Date().toISOString().slice(0, 10)} />
Ooooo
Getting lots of implicit any type errors for various map and reduces when running npm run build
.
example/client-side-fetching/app/routes/__app/sales/invoices/$invoiceId.tsx:136:28 - error TS7006: Parameter 'item' implicitly has an 'any' type.
136 {data.lineItems.map((item) => (
node version: 16.3.2
to get bug: run "npm run setup"
breaks at "generate:css"
generate:css
> tailwindcss -o ./app/styles/tailwind.css "--minify"
error TS2688: Cannot find type definition file for 'uglify-js'.
The file is in the program because:
Entry point for implicit type library 'uglify-js'
error TS2688: Cannot find type definition file for 'webpack'.
The file is in the program because:
Entry point for implicit type library 'webpack'
error TS2688: Cannot find type definition file for 'webpack-sources'.
The file is in the program because:
Entry point for implicit type library 'webpack-sources'
error TS2688: Cannot find type definition file for 'uglify-js'.
The file is in the program because:
Entry point for implicit type library 'uglify-js'
error TS2688: Cannot find type definition file for 'webpack'.
The file is in the program because:
Entry point for implicit type library 'webpack'
error TS2688: Cannot find type definition file for 'webpack-sources'.
The file is in the program because:
Entry point for implicit type library 'webpack-sources'
error TS2688: Cannot find type definition file for 'uglify-js'.
The file is in the program because:
Entry point for implicit type library 'uglify-js'
error TS2688: Cannot find type definition file for 'webpack'.
The file is in the program because:
Entry point for implicit type library 'webpack'
error TS2688: Cannot find type definition file for 'webpack-sources'.
The file is in the program because:
Entry point for implicit type library 'webpack-sources'
Done in 489ms.
๐ npm run lint in ./exercise/02-optimistic-ui
error TS2688: Cannot find type definition file for 'uglify-js'.
The file is in the program because:
Entry point for implicit type library 'uglify-js'
error TS2688: Cannot find type definition file for 'webpack'.
The file is in the program because:
Entry point for implicit type library 'webpack'
error TS2688: Cannot find type definition file for 'webpack-sources'.
The file is in the program because:
Entry point for implicit type library 'webpack-sources'
error TS2688: Cannot find type definition file for 'uglify-js'.
The file is in the program because:
Entry point for implicit type library 'uglify-js'
error TS2688: Cannot find type definition file for 'webpack'.
The file is in the program because:
Entry point for implicit type library 'webpack'
error TS2688: Cannot find type definition file for 'webpack-sources'.
The file is in the program because:
Entry point for implicit type library 'webpack-sources'
> build:remix
> remix build
error TS2688: Cannot find type definition file for 'uglify-js'.
The file is in the program because:
Entry point for implicit type library 'uglify-js'
error TS2688: Cannot find type definition file for 'webpack'.
The file is in the program because:
Entry point for implicit type library 'webpack'
error TS2688: Cannot find type definition file for 'webpack-sources'.
The file is in the program because:
Entry point for implicit type library 'webpack-sources'
> lint
> eslint --cache --cache-location ./.cache/eslint .
error TS2688: Cannot find type definition file for 'uglify-js'.
The file is in the program because:
Entry point for implicit type library 'uglify-js'
error TS2688: Cannot find type definition file for 'webpack'.
The file is in the program because:
Entry point for implicit type library 'webpack'
error TS2688: Cannot find type definition file for 'webpack-sources'.
The file is in the program because:
Entry point for implicit type library 'webpack-sources'
error TS2688: Cannot find type definition file for 'uglify-js'.
The file is in the program because:
Entry point for implicit type library 'uglify-js'
error TS2688: Cannot find type definition file for 'webpack'.
The file is in the program because:
Entry point for implicit type library 'webpack'
error TS2688: Cannot find type definition file for 'webpack-sources'.
The file is in the program because:
Entry point for implicit type library 'webpack-sources'
error TS2688: Cannot find type definition file for 'uglify-js'.
The file is in the program because:
Entry point for implicit type library 'uglify-js'
error TS2688: Cannot find type definition file for 'webpack'.
The file is in the program because:
Entry point for implicit type library 'webpack'
error TS2688: Cannot find type definition file for 'webpack-sources'.
The file is in the program because:
Entry point for implicit type library 'webpack-sources'
error TS2688: Cannot find type definition file for 'uglify-js'.
The file is in the program because:
Entry point for implicit type library 'uglify-js'
error TS2688: Cannot find type definition file for 'webpack'.
The file is in the program because:
Entry point for implicit type library 'webpack'
error TS2688: Cannot find type definition file for 'webpack-sources'.
The file is in the program because:
Entry point for implicit type library 'webpack-sources'
error TS2688: Cannot find type definition file for 'uglify-js'.
The file is in the program because:
Entry point for implicit type library 'uglify-js'
error TS2688: Cannot find type definition file for 'webpack'.
The file is in the program because:
Entry point for implicit type library 'webpack'
error TS2688: Cannot find type definition file for 'webpack-sources'.
The file is in the program because:
Entry point for implicit type library 'webpack-sources'
error TS2688: Cannot find type definition file for 'uglify-js'.
The file is in the program because:
Entry point for implicit type library 'uglify-js'
error TS2688: Cannot find type definition file for 'webpack'.
The file is in the program because:
Entry point for implicit type library 'webpack'
error TS2688: Cannot find type definition file for 'webpack-sources'.
The file is in the program because:
Entry point for implicit type library 'webpack-sources'
error TS2688: Cannot find type definition file for 'uglify-js'.
The file is in the program because:
Entry point for implicit type library 'uglify-js'
error TS2688: Cannot find type definition file for 'webpack'.
The file is in the program because:
Entry point for implicit type library 'webpack'
error TS2688: Cannot find type definition file for 'webpack-sources'.
The file is in the program because:
Entry point for implicit type library 'webpack-sources'
error TS2688: Cannot find type definition file for 'uglify-js'.
The file is in the program because:
Entry point for implicit type library 'uglify-js'
error TS2688: Cannot find type definition file for 'webpack'.
The file is in the program because:
Entry point for implicit type library 'webpack'
error TS2688: Cannot find type definition file for 'webpack-sources'.
The file is in the program because:
Entry point for implicit type library 'webpack-sources'
error TS2688: Cannot find type definition file for 'uglify-js'.
The file is in the program because:
Entry point for implicit type library 'uglify-js'
error TS2688: Cannot find type definition file for 'webpack'.
The file is in the program because:
Entry point for implicit type library 'webpack'
error TS2688: Cannot find type definition file for 'webpack-sources'.
The file is in the program because:
Entry point for implicit type library 'webpack-sources'
error TS2688: Cannot find type definition file for 'uglify-js'.
The file is in the program because:
Entry point for implicit type library 'uglify-js'
error TS2688: Cannot find type definition file for 'webpack'.
The file is in the program because:
Entry point for implicit type library 'webpack'
error TS2688: Cannot find type definition file for 'webpack-sources'.
The file is in the program because:
Entry point for implicit type library 'webpack-sources'
error TS2688: Cannot find type definition file for 'uglify-js'.
The file is in the program because:
Entry point for implicit type library 'uglify-js'
error TS2688: Cannot find type definition file for 'webpack'.
The file is in the program because:
Entry point for implicit type library 'webpack'
error TS2688: Cannot find type definition file for 'webpack-sources'.
The file is in the program because:
Entry point for implicit type library 'webpack-sources'
Building Remix app in production mode...
error TS2688: Cannot find type definition file for 'uglify-js'.
The file is in the program because:
Entry point for implicit type library 'uglify-js'
error TS2688: Cannot find type definition file for 'webpack'.
The file is in the program because:
Entry point for implicit type library 'webpack'
error TS2688: Cannot find type definition file for 'webpack-sources'.
The file is in the program because:
Entry point for implicit type library 'webpack-sources'
Found 54 errors.
Should be
// going on and you can give me a hard time about it...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.