Hi, 

TW macros are relatively simple. eg: 

\define test(parm1) this is param1 $param1$

Where param1 is a "text substitution".  Javascript macros have a more low 
level access to $tw. functions, but they are just "text substitutions". 

widgets <https://tiddlywiki.com/dev/#WidgetModules>have much more 
possibilities in their livecycle. eg. init(), execute(), render(), 
refresh() and a lot more. 

Macros have to be parsed every time they are executed, widgets only refresh 
elements / children that really changed. 

This is not 100% correct, but it should give you a hint. 

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/7d8087f1-2cde-43f9-a5a3-f41afce874a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to