well, yes, context and being specific is always good. but it is even better if you can reduce your problem as much as possible without giving up the ability to reproduce it
@MarkKaplun I think in at most 3 - 4 jears WordPress Core as we know it today is dead. Automattic moves on with things like Calypso and now that WP Core has a defined and usable REST API its only a question of time when the first alternative implementations of the data backend comes to live.
Quick question, is there a resource available which provides a list of all the "global variables" already available in WordPress through JS?
I'm making a plugin. Working on the backend. Need to know current admin page through means of JS. Was wondering if that information was already available in WordPress backend through JS variables or if I should just pass the necessary information to JS through PHP?
Rather just use information if it's already available...
@David we were promised more then 3 years ago that all new WP development will be done in JS (that was in the backbone FAD days). Now the rest api and react is everything.....
I think that people that see the future of wordpress in things like rest api understand very little about what makes wordpress popular and what wordpress users actually want. The answer to both is simplicity and rest api+react is anything but simple
and as for automattic, they have a lot of investment money, not sure they have reached the state where they actually have to show reasonable profit from everything they do, and we know what happened to google once they reached that stage, many many services were retired