MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/9esh23/deleted_by_user/e5sc2eq/
r/javascript • u/[deleted] • Sep 11 '18
[removed]
64 comments sorted by
View all comments
Show parent comment
4
This is completely wrong. It is perfect fine to use context without deferring to another library, and prop drilling is a perfectly fine reason to use context.
Prop drilling a single level is fine. Hella levels? Context.
2 u/chazmuzz Sep 11 '18 Prop drilling a single level is fineThat's just props, not prop drilling 2 u/pomlife Sep 11 '18 Grandparent, controls foo Parent, drills foo Child, uses fooThis is what I mean by one level, for clarity.
2
Prop drilling a single level is fine
That's just props, not prop drilling
2 u/pomlife Sep 11 '18 Grandparent, controls foo Parent, drills foo Child, uses fooThis is what I mean by one level, for clarity.
Grandparent, controls foo Parent, drills foo Child, uses foo
This is what I mean by one level, for clarity.
View all comments
Show parent comment
4
u/pomlife Sep 11 '18
This is completely wrong. It is perfect fine to use context without deferring to another library, and prop drilling is a perfectly fine reason to use context.
Prop drilling a single level is fine. Hella levels? Context.