Git Product home page Git Product logo

react-hooks-npm-lab's People

Contributors

alveem avatar campbelllsssoup avatar carnold18 avatar dado3899 avatar danielseehausen avatar ihollander avatar jlboba avatar lizbur10 avatar maxwellbenton avatar professor-ben avatar thuyanduong avatar thuyanduong-flatiron avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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

react-hooks-npm-lab's Issues

"We can set up" did not jump out at me as an instruction to edit 'scripts'

Canvas Link

https://learning.flatironschool.com/courses/5186/assignments/179983?module_item_id=397437

Concern

With this instruction:

Run 'npm start' to run this script

you are ok with poking any readers who were not alert to your guidance about adding '"start": "serve"' to the 'scripts' property, right?

That is, to me, the passive reader, I did not perceive the guidance to manually edit 'package.json'. I thought "using the serve package" was sufficient per:
This serve (Links to an external site.) package will run a lightweight server. We can set up another npm script to run the server using the serve package:

Additional Context

No response

Suggested Changes

Maybe this was magical thinking on my part, and it's good to poke me into a more active reading stance re your instructions.
Otherwise, if you intend a more gentle tour through package setup and usage, maybe make it explicit that you expect the reader to do something:
We can set up another npm script to run the server using the serve package:

"We can" is not as clear as something like:
You should set up another npm script to run the server using the serve package by updating the scripts property:

Update needed for npm Code-Along

Canvas Link

https://learning.flatironschool.com/courses/7034/pages/npm-code-along?module_item_id=637876

Concern

Line 212 of the README: "Go ahead and run npm run build."

Additional Context

Received the error message:

Could not resolve "./node_modules/date-fns/esm/format/index.js"

Screen Shot 2024-01-09 at 4 46 12 PM

Suggested Changes

My instructor was able to resolve the error by having me change line 3 of color-clock/index.js

FROM
import format from "./node_modules/date-fns/esm/format/index.js";

TO
import {format} from "date-fns";

Is 'date-fns' link(?) formatted properly?

Canvas Link

https://learning.flatironschool.com/courses/5186/assignments/179983?module_item_id=397437

Concern

In the following, it seem 'date-fns' should be an active link to a module, but the link is not active for me:
a package has been created to help us: date-fns.

Additional Context

No response

Suggested Changes

I'm thinking that in here:
created to help us: date-fns.

The 'date-fns' is supposed to be an active link the way that 'serve' is active in the following:
This serve (Links to an external site.) package will run

So update 'date-fns' to work like 'serve'?

Issue with Running Babble dependancy

Canvas Link

https://learning.flatironschool.com/courses/6336/pages/npm-code-along?module_item_id=544381

Concern

Uncaught TypeError: Failed to resolve module specifier "@babel/runtime/helpers/esm/typeof". Relative references must start with either "/", "./", or "../".

This is the error I was getting immediately after following all of the steps provided. I worked with a TC and was also unable to figure the issue. Please advise.

Additional Context

No additional context

Suggested Changes

No suggestions

My mental model of programmers as "developing/writing" solutions thrown by "finding" solutions

Canvas Link

https://learning.flatironschool.com/courses/5186/assignments/179983?module_item_id=397437

Concern

This sentence interrupted my flow of understanding, and not in a helpful way:
Node packages are written so we don't have to re-find a solution other programmers have found.

The idea is about bits of code that have been offered up for use by others. To use such modules, I will need to "find" them, so to read "we don't have to re-find a solution" threw me off-track. What do you mean that I won't have to "find" these other modules?

It took much re-reading and mental processing to figure out the desire was to avoid writing code when others have already written and shared code for such situations.

Additional Context

No response

Suggested Changes

Maybe instead of this:
Node packages are written so we don't have to re-find a solution other programmers have found.

something like this?
Other programmers write node packages to share coding solutions they have found. And this saves us from coding up the same thing!

(Anyway, something different from "re-find a solution" as a term for "writing up code".)

Reword the readme

This section of the README is a bit confusing:

Most prompts will provide a default value. Some are blank and can be left this way for now. Follow the prompts until the end and a fully constructed package.json file will appear in the color-clock directory.

Recommend changing to:

Most prompts will provide a default value. Some are blank and can be left this way for now. Follow the prompts by pressing enter in the terminal on each prompt until you reach the end, when you will be prompted to type 'yes' to confirm. A fully constructed package.json file will then appear in the color-clock directory.

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.