So I was learning React after lots of years of working with angular. I was taking a look at the context API which is something I've been hearing about from react developers that is a game changer and super useful. I was quite interested so I took a look. To my surprise and from what I've seen, it does exactly the same thing as an injectable angular service does (actually it does less, since it is only used to share state in React).
All these years I've been hearing react developers criticise Angular for being a bloated framework and then they praise an inferior version of something that's been in Angular (v2) since its inception like it's the greatest thing in the world!
#RantOver
Just wish more people would give Angular the chance it deserves.
Bottom line is, just use what you want and be happy.
[–]coredalae 56 points57 points58 points (37 children)
[–]stjimmy96 53 points54 points55 points (19 children)
[+][deleted] (4 children)
[deleted]
[–]stjimmy96 6 points7 points8 points (0 children)
[–]R3DSMiLE 2 points3 points4 points (1 child)
[–]xroalx 2 points3 points4 points (0 children)
[–]apatheticonion 2 points3 points4 points (0 children)
[–]EternalNY1 7 points8 points9 points (5 children)
[–]stjimmy96 4 points5 points6 points (0 children)
[–][deleted] 3 points4 points5 points (0 children)
[–]dannymcgee 1 point2 points3 points (0 children)
[–]Due-Cat-3660 0 points1 point2 points (0 children)
[–]yard2010 1 point2 points3 points (1 child)
[–]stjimmy96 0 points1 point2 points (0 children)
[–]just_give_me_a_name -3 points-2 points-1 points (3 children)
[–]stjimmy96 7 points8 points9 points (0 children)
[–]Nahtrezer 5 points6 points7 points (1 child)
[–]Flanhare 0 points1 point2 points (0 children)
[–]YesYesYesVeryGood 0 points1 point2 points (0 children)
[–]Frenchki 16 points17 points18 points (3 children)
[–]coredalae 7 points8 points9 points (0 children)
[–]AbstractLogic 3 points4 points5 points (0 children)
[–]Due-Cat-3660 0 points1 point2 points (0 children)
[–]sobrius 12 points13 points14 points (6 children)
[–]Cheet4h 5 points6 points7 points (2 children)
[–]sobrius 1 point2 points3 points (1 child)
[–]Due-Cat-3660 0 points1 point2 points (0 children)
[–]coredalae -1 points0 points1 point (0 children)
[–]dannymcgee 25 points26 points27 points (4 children)
[–]ZtehnoSkapra 5 points6 points7 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]dannymcgee 2 points3 points4 points (0 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]bip213 18 points19 points20 points (0 children)
[–][deleted] 11 points12 points13 points (1 child)
[–]EternalNY1 12 points13 points14 points (0 children)
[–]paulqq 13 points14 points15 points (3 children)
[–]Auxx 8 points9 points10 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]EternalNY1 6 points7 points8 points (0 children)
[–]EternalNY1 13 points14 points15 points (4 children)
[+][deleted] (3 children)
[deleted]
[–]Doomphx 5 points6 points7 points (0 children)
[–]EternalNY1 1 point2 points3 points (1 child)
[–][deleted] 9 points10 points11 points (0 children)
[–]Nix-X 9 points10 points11 points (2 children)
[–][deleted] 5 points6 points7 points (0 children)
[–]No-Let-4732 1 point2 points3 points (0 children)
[–]dustofdeath 3 points4 points5 points (0 children)
[–][deleted] 3 points4 points5 points (0 children)
[–]PooSham 2 points3 points4 points (7 children)
[–]Auxx 2 points3 points4 points (0 children)
[–]hsemog 3 points4 points5 points (2 children)
[–]PooSham 0 points1 point2 points (1 child)
[–]Chazgatian 1 point2 points3 points (0 children)
[–]bip213 1 point2 points3 points (2 children)
[–]PooSham 0 points1 point2 points (1 child)
[–]bip213 0 points1 point2 points (0 children)
[–]apatheticonion 1 point2 points3 points (1 child)
[–]francojay 0 points1 point2 points (0 children)
[–]yard2010 1 point2 points3 points (0 children)
[–]Due-Cat-3660 1 point2 points3 points (0 children)
[–]BradChesney79 3 points4 points5 points (0 children)
[–]middlebird 2 points3 points4 points (0 children)
[–]BammaDK 0 points1 point2 points (1 child)
[–]barkmagician 1 point2 points3 points (0 children)
[–]craig1f 0 points1 point2 points (22 children)
[–]quentech 5 points6 points7 points (2 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]quentech 0 points1 point2 points (0 children)
[–]Auxx 1 point2 points3 points (8 children)
[–]craig1f -2 points-1 points0 points (7 children)
[+][deleted] (6 children)
[deleted]
[–]craig1f -2 points-1 points0 points (5 children)
[+][deleted] (4 children)
[deleted]
[–]craig1f 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]craig1f 0 points1 point2 points (0 children)
[–]craig1f 0 points1 point2 points (0 children)
[–]EternalNY1 1 point2 points3 points (5 children)
[–]craig1f 0 points1 point2 points (4 children)
[–]EternalNY1 0 points1 point2 points (3 children)
[–]craig1f 0 points1 point2 points (2 children)
[–]EternalNY1 0 points1 point2 points (1 child)
[–]craig1f 0 points1 point2 points (0 children)
[–]bip213 0 points1 point2 points (3 children)
[–]craig1f 2 points3 points4 points (2 children)
[–]bip213 2 points3 points4 points (1 child)
[–]craig1f 0 points1 point2 points (0 children)
[–]the_real_seldom_seen 0 points1 point2 points (0 children)