Ranter
Join devRant
Do all the things like
				++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
				Sign Up
			Pipeless API
				From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
				Learn More
			Comments
		- 
				
				
myss44115yEasier to make and add modal in vanilla js - maybe.
Maintaining it in larger codebase - no. - 
				
				@Ubbe the most interesting thing about react is the way is deals with data flow, component reusability and overall maintenance. It's a whole paradigm.
jQuery is only a big bloated toolbox. They are really not comparable. - 
				
				@react-guy react is a complicated multitool with an automatoc headchanger.
jquery is a big clunky toolbox woth rusty jagged edges, that you rummage around in to find what you need while occasionally getting stabbed by old files and dull drill bits. - 
				
				@SortOfTested I have only used rxjs for data streams and global events so far, and I am trying to insert/delete components dynamically in the reactDOM without any predefined parent container. Can rxjs help me with this?
 - 
				
				@phat-lasagna
Yes, just create a long running subject-based event bus that handles the create/delete discrimination and either uses a global target or supplies a target in the event. - 
				
				@SortOfTested Ok, I'll try something with this approach for the event handling. I just need to find out how to insert & create the actual React components within the reactDOM dynamically, but thank you for this advice though.
 
Related Rants

This had to be posted!
Nowadays......¯\_(ツ)_/¯
Why TF is it easier to make a modal component with vanilla js compared to react? Like is ReactDOM the only way to add shit dynamically?
rant
react-dom
react
vanillajs
modal