F
F
fullj02016-02-07 00:20:40
backbone.js
fullj0, 2016-02-07 00:20:40

Is it possible to use LoDash with Underscore when working with Backbone?

Just started getting familiar with Backbone. The documentation states that Backbone has a dependency on Underscore. I'm used to using LoDash, so I thought, is it possible to use it instead of Underscore?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Belyaev, 2016-02-07
@bingo347

Used, works like clockwork

T
teslor, 2016-02-07
@teslor

As it is written at Backbone website "Mimics of the Underscore and jQuery APIs, such as Lo-Dash and Zepto, will also tend to work, with varying degrees of compatibility.", i.e. 100% compatibility is not guaranteed, but in practice there is unlikely to be any - problems. I use Backbone + LoDash myself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question