Giter VIP home page Giter VIP logo

advanced-remix's Introduction

advanced-remix's People

Contributors

galnir avatar kentcdodds avatar michaeldeboey avatar zawarudo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

advanced-remix's Issues

small suggestion: add a default value for date

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.

CleanShot 2022-05-24 at 11 42 07@2x

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)} />

CleanShot 2022-05-24 at 11 38 18@2x

Type errors on npm run build

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) => (

npm run setup issue

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.