Please use the following format for the title of this thread (then simply delete/replace this text with the content for the thread):
Title:Modern Front-End Development for Rails, Second Edition: Nonsensical text (page 44)
“The only change we’d from the version of this file that would be installed if we were using webpack is that we’d have to to change the file extension to include .ts as a possibility.”
“If you are using webpack, this is easy, because webpack allows you to group import using file glob syntax. The only change we’d need to make to the version of this file that would be installed if we were using webpack is that we’d have to to change the file extension to include
.ts as a possibility.”
Fixed for next beta
Reading through some more this weekend. Don’t know if someone else already noted the following:
Managing State in Stimulus Code - end of para 1
you probably don’t need a separate objects beyond the DOM just to manage the state of the application.
→ Is that “need a separate object” or “need separate objects”? Or am I completely misunderstanding something?
Using context to share state - 236
After making createContext call, our context is now available for use.
→ “a createContext call”, “the createContext call”, “our contextCall”?
Using Redux to manage state - 262
Which, true enough.
→ Not at all sure what you wanted to say here
The first one should be “need separate objects”, though I suppose either one works.
The second one should probably be “the createContext call”
The third one isn’t a typo, but perhaps it’s unclear, it’s just to underline that in fact, ActionCable is not serializable.
All three will be cleaned up in the next beta.