<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pro-Tek Blog &#187; Callback</title>
	<atom:link href="http://www.pro-tekconsulting.com/blog/category/callback/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pro-tekconsulting.com/blog</link>
	<description>For UI developers / UI designers and UI trends</description>
	<lastBuildDate>Thu, 05 Sep 2019 03:59:47 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.34</generator>
	<item>
		<title>WHAT IS CALLBACK HELL?</title>
		<link>http://www.pro-tekconsulting.com/blog/what-is-callback-hell/</link>
		<comments>http://www.pro-tekconsulting.com/blog/what-is-callback-hell/#comments</comments>
		<pubDate>Wed, 12 Sep 2018 06:30:37 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Callback]]></category>
		<category><![CDATA[Callback Hell]]></category>

		<guid isPermaLink="false">http://www.pro-tekconsulting.com/blog/?p=2640</guid>
		<description><![CDATA[<p>What is callback hell? Callback hell is where there are multiple nested callbacks. This leads to very hard-to-read code. We have two ways to avoid this kind of callback hell : Name your functions and declare them and pass just the name of the function as the call back, instead of defining an anonymous function in [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/what-is-callback-hell/">WHAT IS CALLBACK HELL?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h4>What is callback hell?</h4>
<p>Callback hell is where there are multiple nested callbacks.</p>
<p>This leads to very hard-to-read code. We have two ways to avoid this kind of callback hell :</p>
<p>Name your functions and declare them and pass just the name of the function as the call back, instead of defining an anonymous function in the parameter of the main function</p>
<p>Modularity: Separate your code into modules, so you can export a section of code that does a particular job. Then you can import that module into your larger application</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/what-is-callback-hell/">WHAT IS CALLBACK HELL?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pro-tekconsulting.com/blog/what-is-callback-hell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
