Commit Graph
11 Commits
Author SHA1 Message Date
bendtherules d7276eff9e Modify utils.isConstructor* - Allow null type as input 2019-08-10 11:26:39 +05:30
bendtherules e64d51a3e6 Modify util.isConstructorHtmlLike - Allow null typeas input 2019-08-10 10:46:42 +05:30
bendtherules 887f4b95d1 Modify utils - doesElementContainRootFiberNode also checks for _internalRoot now 2019-08-10 10:37:12 +05:30
bendtherules 05489aad2c src/utils - Add getRootFiberNodeFromDOM helper
To find root Fiber node from overall html document or a particular element.
Ideally, this should be called with the same container element used in ReactDom.render.
2019-08-08 11:51:33 +05:30
bendtherules 67206dfe41 Fix prettier on all files 2019-08-03 20:40:07 +05:30
bendtherules ff9821329a src/utils - Add helpers for detecting react functional and class components 2019-08-03 18:48:01 +05:30
bendtherules 7b51c96a57 Add utils - Methods to check if a node corresponds to functional or class components 2019-07-24 02:28:13 +05:30
bendtherules 99d808c9b8 Rename utils methods like isHtmlLike to isNodeHtmlLike
Also renamed isNodeNotHtmlLike
2019-07-24 02:26:54 +05:30
bendtherules 68a5080ae4 Fix isNotHtmlLike util definition 2019-07-23 15:47:59 +05:30
bendtherules 4af377f1ba Add better type check utils for HTMLLike 2019-07-22 18:47:32 +05:30
bendtherules 92444eacb8 Add basic traverse function with tests 2019-07-19 18:45:25 +05:30